[Q] Is this even possible?? (custom rom build, stock recovery and unrooting) - Android Q&A, Help & Troubleshooting

Hi guys,
I've been asked to look into the possibility of flashing some Android tablets so that they have some extra apps included.
We all know that you can build a rom from a stock one, add the apk files to /data/apps or /system/apps, sign, package it up and then flash. However I'm looking for a more complete solution.
I need to get these tablets to a point where once I'm done, when you turn in on you get the out of the box experience, all counters have been reset, device in NOT rooted, the recovery partition restored so that the device will pass a warranty inspection.
in my mind the to do list looks something like this;
root device
flash recovery
backup device (just in case...)
dump rom (as i might have a new model that a stock rom download doesn't exist for yet!)
edit rom to include the 2 extra apps i need to install
flash the new rom
revert recovery to stock
reset all counters
un-root device
anyone know of any reason why this wont work?
I'll be honest I have been playing for a day and I can root, flash recovery, (can't dump yet so used stock rom from dl), add apps to /data/apps but I keep failing on the flash.
I also know i can revert the recovery and unroot.
Anyone got any tips? or any nugget of information that proofs I can't do this so I'm wasting my time?
thanks in advance guys.

Related

Rooting N910CQ AND keeping Android 5.1.1 stock rom - is it possible?

Hi y’all,
Firstly, I’m a newbie. I did some forum reading / reviewing before posting this and I hope I’m posting to correct section (take it easy on newbie ). So anyways, my question is as follows:
I have a N910CQ purchased from Turkey (currently running android 5.1.1). I want to root it but keep stock ROM for two reasons: 1) I am used to touchwiz based stock ROM and I am generally satisfied with it except the bloat ware, and 2) I want to run Cerberus on it... and actually 3) all roms I came by have certain features missing (i.e. camera / pen / fingerprint sensor does not work etc).
But after doing much research (and trial and error for the last 2 days), it seems it is not possible to root a N910CQ device running 5.1.1 android and keep stock rom on it. You can either: 1) root it and flash a 5.0.1 stock rom (and when you later try to upgrade to 5.1.1 you’ll get an error message basically telling you that unauthorized modification was made to OS and therefore you’re no longer entitled to OTA upgrade) OR 2) you’ll have to flash a 5.1.1 rom other than stock rom (such as Team Eos Rom – which has many flaws). But, so far, it seems impossible to root N910CQ and flash 5.1.1 rom.
Do any of you have any recommendations? Thank you.
anybody? any clue???
It looks like your best option would be to install TWRP recovery and use it to flash a custom kernel that auto roots your device such as this http://forum.xda-developers.com/note-4/development/n910c-kernel-5-1-1-stock-tw-permissive-t3206548 The important thing to note is your Build Number as there are many different builds of 5.1.1. You want to make sure the kernel supports the specific build you have installed otherwise you'll soft brick and need to recover either with a nandroid backup or via Odin and the full firmware/OS tar file. Use TWRP to make the nandroid backup before installing any mod so you can easily restore if you run into issues.
es0tericcha0s said:
It looks like your best option would be to install TWRP recovery and use it to flash a custom kernel that auto roots your device such as this http://forum.xda-developers.com/note-4/development/n910c-kernel-5-1-1-stock-tw-permissive-t3206548 The important thing to note is your Build Number as there are many different builds of 5.1.1. You want to make sure the kernel supports the specific build you have installed otherwise you'll soft brick and need to recover either with a nandroid backup or via Odin and the full firmware/OS tar file. Use TWRP to make the nandroid backup before installing any mod so you can easily restore if you run into issues.
Click to expand...
Click to collapse
I did this (except I flashed using Odin) and it totally worked. Thank you!
---
Just for the record though: this kernel triggered "Security Notice Unauthorized Actions Error" and so I had to change it. I'm using SpaceX now, no errors, works smoothly: https://www.androidfilehost.com/?fid=24052804347823851
Cool. I prefer TWRP so I can make backups in case something goes wrong, but whatever works.

Nabi Big Tab 20 Stock Rom Request.

Long story short I modded my stock rom and only made a backup after I removed a bunch of system apps I knew were safe. Well youtube stopped working and my children like to watch you tube and Nabi release an update to patch their system to fix the youtube issue but I can not flash due to missing system files. Looking for stock unupdated or even updated rom for the nabi big tab 20 and help would be great. TWRP is the only recovery that I am aware of for this tablet.
Thanks in Advanced!
bump
Still Needing That Stock Rom?
I kinda did the same thing. So I just bought another Big Tab 20 to flash TWRP and backup the stock rom. I must mention at some point the Twrp Backups did not restore properly on the previous device. Dont know what happened. Im scared as hell to do this because it seems like theres no turning back to stock and this one cost me a cool $100.
Where I may find the stock rom or TWRP backup for this tablet?
I bricked this, just doing root and rename launcher and chrome apk in system folder, after this I get a bootloop.
And I need pinout a nabi connector, don`t have a usb cable..
Bringing this back from the DEAD
Hello,
I just got this Nabi BIG TAB HD - Model on device is bgtab-nv20a.
I am able to access recovery and select to wipe it, however when booting into Android it will ask for you to connect to the internet, regardless if you do it or not, a message will appear not allowing me to proceed, the error will be that it cannot connect to the FUHU server or that it cannot perform update and therefore cannot continue.
I am looking for either a way of rooting and flashing a custom ROM or simply get it to boot with the already installed Android system.
basementx said:
Bringing this back from the DEAD
Hello,
I just got this Nabi BIG TAB HD - Model on device is bgtab-nv20a.
I am able to access recovery and select to wipe it, however when booting into Android it will ask for you to connect to the internet, regardless if you do it or not, a message will appear not allowing me to proceed, the error will be that it cannot connect to the FUHU server or that it cannot perform update and therefore cannot continue.
I am looking for either a way of rooting and flashing a custom ROM or simply get it to boot with the already installed Android system.
Click to expand...
Click to collapse
If you can find a custom mom for this device please let me know lmfao. There's some extreme hardware packed under this really old device.

Stock Firmware Backup - Nonroot

Hello,
As the title suggests, I'm looking for a way to completely backup my stock device without root.
This would include firmware and stock recoveries, basically system files - as I'm not really too terribly worried with saving personal data.
I've searched through various threads but I think I'm in one of those "in-over-my-head" situations, so let me explain why I haven't just flashed a custom recovery and made a nandroid backup.
My device is the C-Spire Note 5, SM-N920R7, running 5.1.1 - recognized by Smart Switch with no updates available.
I received this device in the mail today - because I somehow managed to brick my old device with the "custom binary blocked" FRP.
There is no stock firmware available for download to flash in Odin, and it was impossible to boot the device in regular or recovery mode, leaving me with Download mode.
In order to root my old device, I had to unlock the OEM in Developer Settings and flash the "Beastmode" kernel via Odin:
http://forum.xda-developers.com/spr...rnel-beastmode-modified-stock-1-0-sm-t3196174
Then, I flashed a TWRP recovery and used it to install SuperSU - and voila! I had rooted my device.
Fast forward a few months... My battery died one day and it somehow triggered the FRP lock - with only Download mode available and no C-Spire stock firmware to flash.
Naturally, I want to root my device again, but first I want to create a complete backup of my device that would be flashable in Odin even with the FRP lock on.
So ladies and gentlemen, any help or advice would be appreciated.
I would of course, upload my firmware publicly so that anyone else using this device doesn't brick their phone like I did.
Did you ever get an answer to this? I'm in the same boat and want to do the same thing.
theophile2 said:
Did you ever get an answer to this? I'm in the same boat and want to do the same thing.
Click to expand...
Click to collapse
The only way I've seen involves capturing temporary files during an update through Kies or Smart Switch.
Being on C-Spire, that probably will not ever happen.
Maybe C-Spire will get it together and push out 6.0.1 OTA like the rest of the world - as well as actually providing an alternate (non-OTA) download method.
Apparently some guy on the C-Spire Dev forums paid for a ROM on a Chinese site that works with our phones - which would serve as a nice backup if he would ever upload it.
I asked him to - and apparently he contacted the admins asking for a way to upload the file to the forums.
After they responded to him, he must have never uploaded the file.

All about root/magisk/etc

Please read the whole post and answer all (if possible) of my questions, I don't mind if you give me links, I'll read myself. Just don't answer with 2 words that don't mean anything to me.
I want to get into rooting, custom kernals, etc but I really don't know where to start reading from. Anything I came across seems not detailed enough. My end goals are:
- To get enough info so I don't brick my phone or even if I do, I want to know how to fix it.
- Install a custoim kernel, so I can get battery life simillar to this guy.
- Get magisk working, so I can get AUX lenses on gcam working too.
In the past I have installed custom roms on my old LG G2 and everything was so simple, rooting was 1 click and installed TWRP too. Then just flashing roms, gapps, etc, but at the moment I feel my knowledge/experience is like I've never seen a computer or phone in my life.
1. First, where do I start from? Here? It doesn't say if I should have an unlocked bootloader, but other guides require that. I'm kinda confused.
2. If I need to unlock it, I read that it wipes everything, how do I backup without TWRP? Speaking of which, do I need it since there is no official one. Can I do a pre-root backup with OP switch and then restore from it after I've rooted and/or unlocked bootloader?
3. What's the deal with patched boot images, in what situation would I need one?
4. I've just updated to OOS 10.0.8.HD01BA. Does that make me unable to root with method from 1 because its so new or it doesn't matter? I've read somewhere that with OTA you lose magisk/twrp, is there a way to prevent that or I'll just have to do 1 again. Do OTAs return me back to stock kernel?
5. The guy above is using this kernel. It's supposed to be working on 7T Pro too. Has anytone tried it? If so how is it?
6. What about blu_spark kernel, is it good? Also I don't really get what the warning message mean :
"Reflash ROM -> flash TWRP --> reboot to recovery --> flash Magisk if you want (default, no plugins/modules) -> flash blu_spark."
How do I reflash stock rom? Also there is no official TWRP, so I guess it's better to not use this one or there is another way to install?
7. Speaking of which, what's the deal with FKM? What should I know about it?
8. If I root with 1, can I then install arter97's kernel with FKM?
9. How do I go back to stock kernel/rom/etc/lock bootloader in case I need warranty?
10. Is there anything that's recommended to read/know?
UndeadG2 said:
Please read the whole post and answer all (if possible) of my questions, I don't mind if you give me links, I'll read myself. Just don't answer with 2 words that don't mean anything to me.
I want to get into rooting, custom kernals, etc but I really don't know where to start reading from. Anything I came across seems not detailed enough. My end goals are:
- To get enough info so I don't brick my phone or even if I do, I want to know how to fix it.
- Install a custoim kernel, so I can get battery life simillar to this guy.
- Get magisk working, so I can get AUX lenses on gcam working too.
In the past I have installed custom roms on my old LG G2 and everything was so simple, rooting was 1 click and installed TWRP too. Then just flashing roms, gapps, etc, but at the moment I feel my knowledge/experience is like I've never seen a computer or phone in my life.
1. First, where do I start from? Here? It doesn't say if I should have an unlocked bootloader, but other guides require that. I'm kinda confused.
2. If I need to unlock it, I read that it wipes everything, how do I backup without TWRP? Speaking of which, do I need it since there is no official one. Can I do a pre-root backup with OP switch and then restore from it after I've rooted and/or unlocked bootloader?
3. What's the deal with patched boot images, in what situation would I need one?
4. I've just updated to OOS 10.0.8.HD01BA. Does that make me unable to root with method from 1 because its so new or it doesn't matter? I've read somewhere that with OTA you lose magisk/twrp, is there a way to prevent that or I'll just have to do 1 again. Do OTAs return me back to stock kernel?
5. The guy above is using this kernel. It's supposed to be working on 7T Pro too. Has anytone tried it? If so how is it?
6. What about blu_spark kernel, is it good? Also I don't really get what the warning message mean :
"Reflash ROM -> flash TWRP --> reboot to recovery --> flash Magisk if you want (default, no plugins/modules) -> flash blu_spark."
How do I reflash stock rom? Also there is no official TWRP, so I guess it's better to not use this one or there is another way to install?
7. Speaking of which, what's the deal with FKM? What should I know about it?
8. If I root with 1, can I then install arter97's kernel with FKM?
9. How do I go back to stock kernel/rom/etc/lock bootloader in case I need warranty?
10. Is there anything that's recommended to read/know?
Click to expand...
Click to collapse
1. Unlocked Bootloader is always required.
2. Yes it wipes everything, OnePlus switch works fine for backup and restore
3. Since there is no TWRP you'll need one to root.
4. Not necessarily. You can just grab whatever patched boot image (preferably for BA), fastboot boot it to see if it works, if it does then do direct install in Magisk Manager. You can maintain root after an update following this
https://topjohnwu.github.io/Magisk/ota.html , and yes, it'll bring you back to stock kernel.
5. ?
6 &7. You can do ahead and try different kernels however I recommend arter97.
Since there is no TWRP you'll need FKM to flash the kernel.
8. Yes.
9. Rooting doesn't really void warranty, but I'd use MSMTOOL to get back to 100% stock.
For stock kernel you can flash stock (or patched) boot image depending wether you want stock or stock root.
To get back to stock ROM, either use MSMTOOL or fastboot ROM, you can find both in guides section.
10. Guides section for fastboot ROM and msmtool.
For AUX module.
https://www.celsoazevedo.com/files/android/p/gcam-oneplus-7-t-pro/
Since there is no TWRP it can be tricky to get out of bootloop if you install a rogue module.
Use this then;
https://forum.xda-developers.com/7t-pro/how-to/guide-remove-magisk-modules-twrp-t3995677

Alright I've received the email to unlock the bootloader now I have some questions before using it..

Alright, I've received the email as the title implies but here are the questions I have before I proceed into the whole process
Is there a way to backup the stock image without TWRP? if so how do you get the stock image backed up if it's impossible how to back up the stock bootlover/recovery before installing TWRP if I were to get rid of TWRP one day?
also is it possible to just root the system without flashing anything to avoid data loss? this would be the preferred option actually, thanks! (Using the be2028 t-mobile version, if there's a premade backup that'll be cool too.)
animenote said:
Alright, I've received the email as the title implies but here are the questions I have before I proceed into the whole process
Is there a way to backup the stock image without TWRP? if so how do you get the stock image backed up if it's impossible how to back up the stock bootlover/recovery before installing TWRP if I were to get rid of TWRP one day?
also is it possible to just root the system without flashing anything to avoid data loss? this would be the preferred option actually, thanks! (Using the be2028 t-mobile version, if there's a premade backup that'll be cool too.)
Click to expand...
Click to collapse
I am just getting back to messing around with phones after about 5 years. So many things have changed and I am trying to get answers here as well.
I used TWRP and Magisk to root my phone. Installing TWRP will not wipe your data as it is flashed to a different partition but to install TWRP you have to unlock the bootloader and that will wipe your userdata. And no, I don't believe there is any possibility of rooting without unlocking the bootloader. If you decide you want to go back to stock, there are stock roms available and you can re-lock the bootloader on the N10 so you should be able to set it back to just like it was when you first bought it. I say should because I have never done it, just read that it can be done when I unlocked and flashed mine.
I wish I could be of more help but so many things have changed in the years since I've been away from doing this stuff I feel like a total noob again.
animenote said:
Alright, I've received the email as the title implies but here are the questions I have before I proceed into the whole process
Is there a way to backup the stock image without TWRP? if so how do you get the stock image backed up if it's impossible how to back up the stock bootlover/recovery before installing TWRP if I were to get rid of TWRP one day?
also is it possible to just root the system without flashing anything to avoid data loss? this would be the preferred option actually, thanks! (Using the be2028 t-mobile version, if there's a premade backup that'll be cool too.)
Click to expand...
Click to collapse
No I do not believe there's a way to gain root without flashing anything. There's no need to backup anything you can always use the MSM download tool to restore your device. https://forum.xda-developers.com/t/...l-to-restore-your-device-to-oxygenos.4204445/ You should be able to find most of the stock imgs on here already if you'd really need to flash back. I'm no expert either, just my experience with this phone in particular has been pretty straightforward. I never backed up anything lol.
Twrp is iffy i made a backup I'll never use, check out the post about flashing international rom to tmo and metro devices, that's my backup. Also you can run 11.0.3/2 firmware and boot 11 gsi's the post about lir rom has the info. Flash the product_gsi.img referenced there, I have never deleted my product partition and I only leave oos ten installed long enough to take ota's. There are more roms in the source forge page referenced with lir rom post. Flash magisk via recovery, either side load or twrp, pay attention that it flashes partition sda14(super image) or wifi breaks.

Categories

Resources