Care to help me make TWRP backup/recovery work? - MTCB Software Development

As you know TWRP on our phones allows us to instantly switch between ROMs, backup, etc. instantly. It's like an image based backup for our android devices. And exceptionally handy when wanting to try out different ROMS (Firmware here I guess). I have TWRP recovery installed and I was able to get it to see my nandroid online TWRP backup. I had to run a backup in twrp to see the directory it wanted as It would not let me specify the directory. Turns out it is /mnt/external_sd/TWRP/BACKUPS/n70 for my device when choosing the external option. So I went ahead and confirmed the format of that backup is the same as the online nandroid TWRP backup and it is (mtd.win, ext4.win) so I went ahead and moved boot, cache, data, kernel, and system to that n70 directory. Beautiful TWRP recovery sees them! Making progress, I think. (See pic)
Then I go to restore this and I am met with "Unable to wipe data using function call". FAIL! Anyone have any idea what I may be able to do to make this work? I did check permissions of the TWRP backup directory to ensure all was well and it was. Perhaps TWRP doesn't have access to write to /data? I doubt that, perhaps this is an easy fix and TWRP can actually work well on these devices?
NOTE, you cannot backup from TWRP recovery as it shows /data as 0MB. Which may be part of the reason I get an error during TWRP restores?
Dave

Lets hope one of the dev's pick this up as this would be a great addition to help make life easier!

I agree. I couldn't even decompile the recovery. I fail!!
Dave

so nobody has any desire for this to work?

I pushed for having a working TWRP when these units first came out. The issue is none of the ROM makers have had the desire to move to this type of system for releasing ROMs, so all updates to the ROM force you to flash back the factory recovery to update you ROM, which makes it a PIA anytime you want to update.

fortunately the flash back to stock recovery is easy but twrp is so nice im surprised they aren't wanting to move to it. The backup/restore functionality is amazing as well.
Dave

I would love for them to goto this style of updating as it would make upgrades so much easier as well as could use things like Aroma Installer to keep me from having to nuke half the apps I do not use with Titanium Backup. For example the only stock apps I use are Bluetooth and Radio. And most of the other crap found in the latest roms, I kill as well as I do not use them.

I am so down for this! Would definitely donate to make it happen. Promise. Ask @Malaysk

as would I.

I also like to pay with PayPal ready

TT_Vert said:
As you know TWRP on our phones allows us to instantly switch between ROMs, backup, etc. instantly. It's like an image based backup for our android devices. And exceptionally handy when wanting to try out different ROMS (Firmware here I guess). I have TWRP recovery installed and I was able to get it to see my nandroid online TWRP backup. I had to run a backup in twrp to see the directory it wanted as It would not let me specify the directory. Turns out it is /mnt/external_sd/TWRP/BACKUPS/n70 for my device when choosing the external option. So I went ahead and confirmed the format of that backup is the same as the online nandroid TWRP backup and it is (mtd.win, ext4.win) so I went ahead and moved boot, cache, data, kernel, and system to that n70 directory. Beautiful TWRP recovery sees them! Making progress, I think. (See pic)
Then I go to restore this and I am met with "Unable to wipe data using function call". FAIL! Anyone have any idea what I may be able to do to make this work? I did check permissions of the TWRP backup directory to ensure all was well and it was. Perhaps TWRP doesn't have access to write to /data? I doubt that, perhaps this is an easy fix and TWRP can actually work well on these devices?
NOTE, you cannot backup from TWRP recovery as it shows /data as 0MB. Which may be part of the reason I get an error during TWRP restores?
Dave
Click to expand...
Click to collapse
AFAIK its already been done, a year or 2 ago.
If I remember correctly it was working but it wasnt compatible with the way the MTCB updates work or something, did you search the original thread ?
Whilst I use TWRP on my phone I never tried it on my head unit or saw the need for it personally.

@Dees_Troy or @Captain_Throwback are the only guys I know capable of doing it. Maybe if they could give a hand. I have attached the 800x480 5.1 recovery if they would be so kind.

The wiki says its "now working perfectly" and gives a link to TWRP for Rockchip devices in a Freaktab post from 2014.
As I said earlier I m sure there was some reason why not many people use it, possibly to do with not being able to flash the MCU in TWRP or something.
Has anyone actually searched the original thread yet ? (theres only 11 pages to read through if you search "TWRP").

typos1 said:
The wiki says its "now working perfectly" and gives a link to TWRP for Rockchip devices in a Freaktab post from 2014.
As I said earlier I m sure there was some reason why not many people use it, possibly to do with not being able to flash the MCU in TWRP or something.
Has anyone actually searched the original thread yet ? (theres only 11 pages to read through if you search "TWRP").
Click to expand...
Click to collapse
Can you link me to the wiki? the only one i could find was the huifei one with no info re twrp
are you referring to http://freaktab.com/forum/main-category/freaktab-downloads/11780-twrp-2-7-0-0-for-rockchip-s
cos they are plagued with issues and use the kitkat base

When I use it it backs up a 0MB apps daa folder each time. You could always very quickly swap back to stock recovery for flashing of ROM'/MCU. It never worked for me properly and I don't see any indication anyone actually backed up and restored w/ TWRP. I provided the screen shots of what error was generating while backing up somewhere. It certainly does not restore an online nandroid TWRP backup either.r.
Dave

TT_Vert said:
When I use it it backs up a 0MB apps daa folder each time. You could always very quickly swap back to stock recovery for flashing of ROM'/MCU. It never worked for me properly and I don't see any indication anyone actually backed up and restored w/ TWRP. I provided the screen shots of what error was generating while backing up somewhere. It certainly does not restore an online nandroid TWRP backup either.r.
Dave
Click to expand...
Click to collapse
miffymiffy said:
Can you link me to the wiki? the only one i could find was the huifei one with no info re twrp
are you referring to http://freaktab.com/forum/main-category/freaktab-downloads/11780-twrp-2-7-0-0-for-rockchip-s
cos they are plagued with issues and use the kitkat base
Click to expand...
Click to collapse
http://forum.xda-developers.com/wiki/Hui_Fei_Type (under "Recovery)
That looks like the page from Freaktab @miffymiffy
Have either of you read all the posts on TWRP in the original thread to get a handle on the TWRP situation for MTCB head units ?

look like somebody also looking for TWRP on Joying HU. I'm also looking on it but seem to be not so much people interested on it. I dont mind that TWRP wont update the MCU but most important it can backup the whole rom & can restore back the rom exactly what it left previously.
does the below TWRP link work for RK3188 1024x600(seem like for RK3088 CPU)
http://huifei.fs-fileserver.de/content/firmware/KK 4.4.4 Dualcore Coudu Rooted /TWRP/1024x600/

lysiong said:
look like somebody also looking for TWRP on Joying HU. I'm also looking on it but seem to be not so much people interested on it. I dont mind that TWRP wont update the MCU but most important it can backup the whole rom & can restore back the rom exactly what it left previously.
does the below TWRP link work for RK3188 1024x600(seem like for RK3088 CPU)
http://huifei.fs-fileserver.de/content/firmware/KK 4.4.4 Dualcore Coudu Rooted /TWRP/1024x600/
Click to expand...
Click to collapse
Dont know sorry, but TWRP will be the same for ALL MTCB and MTCC hedunits, plus there are no "Joying" headunits, Joying are sellers only, they sell Joyous and other MTCB, MTCC and MTCD headunits.

lysiong said:
look like somebody also looking for TWRP on Joying HU. I'm also looking on it but seem to be not so much people interested on it. I dont mind that TWRP wont update the MCU but most important it can backup the whole rom & can restore back the rom exactly what it left previously.
does the below TWRP link work for RK3188 1024x600(seem like for RK3088 CPU)
http://huifei.fs-fileserver.de/content/firmware/KK 4.4.4 Dualcore Coudu Rooted /TWRP/1024x600/
Click to expand...
Click to collapse
just try it, totally not working , blank screen come out when boot into recovery :crying:. Lucky still can restore back previous working recovery.

Related

[Q] NABI2 Acjofs Nabilab backup restore question Please

Hi There
Such a great program is the Nabilab thank you!
Ive tried to serach the forums but am getting burried under so much info that I dont all fully understand, please forgive my ignorance. Im also not even sure if I am posting in the right place (trying to do this at work when boss isnt looking which is hard).
I have a backup and restore question please related to UK version of the nabi2.
I downloaded the full version of the nabilab tools software including the stock condition to my PC. I then ran the full installation (option 1) and all worked brilliantly (little trouble with the drivers but solved).
But now, 4 weeks later, the nabi has lost wifi which I understand from reading is an issue with OTA (which I didnt know about and hadnt realised was turned on).
So from what I can tell, I need to basically blank the nabi2 and then restore it. But I have just had the thought, is the stockbackup file within my internal SD card actually a backup of my own system created when I ran the tools setup/installation (which I think is the case), or is it a copy of the downloaded stockbackup that came with the nabilab tools and was automatically copied across during the tools installation?
The reason for asking is that I just thought, that because my Nabi2 is a UK version (I did update the OS as instructed before running all the nabilab tools installation) then if the stockbackup is from the downloaded pack, and thus not UK, then trying to restore that might cause me problems with the UK version and maybe the uk nabistore??
Would I be better going into Nabi parent-mode and using the option in the settings to reset to factory defaults (will this work to restore nabi to earlier version?) or am I ok to use the stockbackup that is sitting on my internal sd card?
Should I use twrp to "wipe" first before trying any backup or should I just run restore?
Do I use the nabilabs menu to try and do the restore or should I go into TWRP to do the restore?
Id really really appreciate any help please as Im very new at all this and not very knowledgable. The Nabi2 is my sons. He is 4 and has autism and doesnt have any communication or language so doesnt understand that his Nabi ran out of storage space thus I used the root to be able to use an app swapping internal-external sd cards for more space. His Nabi means everything to him and its starting to look like it will help his communication, he doesnt understand why parts of it are now not working which leads to huge upsetments (really huge) and we cant explain to him that it will be fixed soon, and so im desperate to fix it as quick as I can.
Please any help would be wonderful.
many thanks for even taking the time to read my post.
Alex
alexbobspoons said:
Hi There
So from what I can tell, I need to basically blank the nabi2 and then restore it. But I have just had the thought, is the stockbackup file within my internal SD card actually a backup of my own system created when I ran the tools setup/installation (which I think is the case), or is it a copy of the downloaded stockbackup that came with the nabilab tools and was automatically copied across during the tools installation?
Click to expand...
Click to collapse
If you look in the TWRP/BACKUPS/yourserial/ folder the folder called "stockunrooted" should be your Nabi's backup. A folder called "abcdstock123" is the stock backup the Nabilab would create, but it will only create this if you ran the restore "Nabi to stock" from Nabilab. Honestly before you do anything else, if you find the folder stockunrooted COPY THAT TO YOUR COMPUTER. I can't stress that enough, we don't have near as many UK owners here. If something goes wrong we have plenty of north american versions the users here can get for you, but not many if any UK ones.
alexbobspoons said:
The reason for asking is that I just thought, that because my Nabi2 is a UK version (I did update the OS as instructed before running all the nabilab tools installation) then if the stockbackup is from the downloaded pack, and thus not UK, then trying to restore that might cause me problems with the UK version and maybe the uk nabistore??
Click to expand...
Click to collapse
I would definitely try and restore your stock backup if you have one. I have no facts on this matter but the UK store could react negatively to something such as your build.prop being different. Also there might be a difference in WiFi configuration as I think there are some differences between power in channels 12 and 13 outside North America. I would avoid restoring the Nabilab one unless it was a last resort. If you don't have your stockunrooted, someone out there likely has a UK backup. We would be better off seeking them out and seeing if they would upload you one.
alexbobspoons said:
Would I be better going into Nabi parent-mode and using the option in the settings to reset to factory defaults (will this work to restore nabi to earlier version?) or am I ok to use the stockbackup that is sitting on my internal sd card?
Should I use twrp to "wipe" first before trying any backup or should I just run restore?
Do I use the nabilabs menu to try and do the restore or should I go into TWRP to do the restore?
Click to expand...
Click to collapse
-Either a factory reset, or restoring the stock backup of your Nabi(not the stock from Nabilab) should work. A factory reset won't revert you to an older Nabi revision it will simply wipe everything from the tablet, and leave you on whatever version you are currently on. The restoring of your backed up version will more or less result in the same since you upgraded before backing up. However the major difference will be your backup will have the Nabi setup done, where a factory reset will erase it. Also it will WIPE your stockunrooted backup that I talked about at the beginning, we don't want that without you copying it to your computer first. So you skip the step of setting up parent mode, and your wireless password would likely be there so you would save yourself 2 minutes.
-If you restore your stock backup of your tablet, and restore boot, system, and data there would be no reason to wipe first. Although out of habit I always clear cache and dalvik cache anyway, even though it gets wiped by the restore. No need to clear system as TWRP will format that partition before restore anyway.
-Go into TWRP. Select restore tab. Find folder called stockunrooted and select. Restore all. Boot, system, data check. I assume you have gotten into TWRP fine but just in case: From powered off, press and hold both vol+ and power, then select recovery kernel.
-Or you could just do a factory reset. The differences I highlighted above.
-Either option will break root, and gapps. To get them back use options 3 and 4, instead of 1 like you did last time in Nabilab. Gapps only, Root only, since you would already have stockunrooted no need to make a second one.
Thank you so much for your reply the info is invaluable.
Sorry for spelling your name wrong.
Sorry also for posting this in the wrong place (as I have since found from browsing)
Thanks again for the help.
Ill backup the stock to my pc, then will try using twrp to resotre that backup and then use the nabilab again to root. Then I guess its simply logging into the nabi and google store to download any missing apps.
Thanks you so much
Alex
PANIC
Oh no ive gone to the folder on my nabi through the usb cable and the stockunrooted folder appears to be empty.
I did choose option one when I did the nabitools so I just dont understand why theres nothing there.
When I looked into twrp last night it seemed to think there was a backup there for stockunrooted so I dont know if its dissapeared or whether it was never there in the first place.
PANIC
As there is not supposed to be many UK nabi backups out there (and im time limited due to my son relying on the tablet) am I now only left with the factory defalt reset? (not quite sure how to do that really)
I know I cant use the one in the nabilab because that is USA version.
Please help
Alex
alexbobspoons said:
Oh no ive gone to the folder on my nabi through the usb cable and the stockunrooted folder appears to be empty.
I did choose option one when I did the nabitools so I just dont understand why theres nothing there.
When I looked into twrp last night it seemed to think there was a backup there for stockunrooted so I dont know if its dissapeared or whether it was never there in the first place.
PANIC
As there is not supposed to be many UK nabi backups out there (and im time limited due to my son relying on the tablet) am I now only left with the factory defalt reset? (not quite sure how to do that really)
I know I cant use the one in the nabilab because that is USA version.
Please help
Alex
Click to expand...
Click to collapse
I would go into TWRP. Then in the advanced section use the file manager. Navigate to /data/media/TWRP/BACKUPS/serial/stockunrooted and then see if it is blank or if there are files in it. boot.wim boot.wim.md5, etc etc
If it's gone then it will have to be a factory reset.
aicjofs said:
I would go into TWRP. Then in the advanced section use the file manager. Navigate to /data/media/TWRP/BACKUPS/serial/stockunrooted and then see if it is blank or if there are files in it. boot.wim boot.wim.md5, etc etc
If it's gone then it will have to be a factory reset.
Click to expand...
Click to collapse
Hi
Did that, folder empty and no files in it.
Have done a factory reset and YAY all good.
Have re-signed in to nabi account, have redone the root using nabilab, have then installed the ext-to-int sd card app and the big card is now in memory.
So now its just a case of sitting back and slowly reinstalling all the apps from the nabi store and then the google store. Once all thats done ill then go into TWRP and do me a proper full backup.
Phew!
Thank you so much for your help it has been invaluable. My deepest gratitude!
Thank you!
Alex
alexbobspoons said:
Hi
Did that, folder empty and no files in it.
Have done a factory reset and YAY all good.
Have re-signed in to nabi account, have redone the root using nabilab, have then installed the ext-to-int sd card app and the big card is now in memory.
So now its just a case of sitting back and slowly reinstalling all the apps from the nabi store and then the google store. Once all thats done ill then go into TWRP and do me a proper full backup.
Phew!
Thank you so much for your help it has been invaluable. My deepest gratitude!
Thank you!
Alex
Click to expand...
Click to collapse
So glad its working again! Make sure to copy that backup you make to your computer
aicjofs said:
So glad its working again! Make sure to copy that backup you make to your computer
Click to expand...
Click to collapse
I surely surely will (multimple copies)
Thank you again. Its hard to explai how much my son relies on his Nabi so its hard to explain how grateful I am you are a hero!
Alex
UK Nabi 2 Rom
Hello All, I`m looking for a UK version of the 1.9.37 rom after wiping my daughters Nabi, forgetting to make a backup way back when i was rooting it last year. I`ve tried the stock version but when it tries to do the second of the two part ota i get the dead robot and Nabilab doesn`t see it when connected.
Any help would be greatly appreciated.

[Q] First time installing custom ROM on S4 - Thoughts & Questions

Hi all,
This is the first time I've tried installing a custom ROM on my VZW S4 (i545) (MDK firmware. Yes, I held out on the OTA since May). I've got a few thoughts and a couple of questions I was hoping could be addressed. I consider myself familiar with flashing ROM's and whatnot, so I won't need hand-holding steps in answer to my questions.
Some info:
VZW S4
MDK Firmware
Recovery: OUDhs CWM Touch Req0very v1.0.3.5
I haven't taken any OTA since I got the phone back in May. This leads me to believe (correct me if I'm wrong) that I'm on Android 4.2.2?
Current ROM: AOKP Nightly Build for 10/31/2013 (MR2)
Thoughts: Holy hell, this ROM is BLAZING fast. I am missing a few features, but none I use regularly (I don't use any of the TouchWiz "smart" features. Damn battery hogs). I was able to flash this over and install GAPPS without any problems. Loading time is incredible, and I love how clean the interface is.
Questions:
Can anyone help me figure out why I cannot install CM10.2? Not sure if that's because I downloaded the wrong version or something, but after flashing it, the screen stays stuck at the Galaxy S4 logo and doesn't move. Maybe I didn't wait long enough, but it surely didn't move in any reasonably expected time (AOKP, by comparison, loaded probably <1 minute). Any thoughts on why this might be? I really want to try CM10.2, so perhaps I should try a different build?
Another question/concern: I downloaded a few different ROMs last night -- CM10.2, AOKP and st0ckdr0id. AOKP installed fine, CM10.2 froze up, but when I installed st0ckdr0id (after wiping out, of course), I got what I think is referred to as a kernel panic. The message was similar to "This phone has software installed on it that Verizon Wireless has determined to be unsafe. Please power off the phone and take to the nearest Verizon Wireless store for help". In the top-left corner, it had in bold RED letters "Kernel secure: FAIL" (or similar wording). I fixed this by booting back into recovery, wiping out, and then installing AOKP again. Can anyone help me understand why this happened?
Why is only ~10GB of space still available when I -thought- I wiped out everything?
What I'm really searching for is an AOSP ROM that is very clean and light, but has SOME of the TouchWiz features. Any recommendations?
My phone only shows me as having a 3G connection, where normally I have 4G LTE. Anything I can do to fix this? Is this an issue with the ROM not detecting the right kind of radio? Bug report, perhaps?
I can't mount my external_sd in my CWM anymore. Yes, I used to be able to do it at one point, because I've done an external nandroid backup to it from within CWM in the past (as of October 29th, if the date on the backups is correct). I've read in other Google searches that it has something to do with the formatting of the SD card, but I haven't removed that SD card from my phone in a few months to have adjusted anything to do with formatting. I plugged the memory card into my Linux laptop this morning while diagnosing this and got an error about an unknown exfat partition. Any advice would be greatly appreciated.
Stupid question: Is there a way to -completely- wipe my internal SD card clean of all my current files? I know when I "wipe" /data I can still see all of my files from the previous installation, and I'm not ballsy enough to wipe /sdcard. I guess the question that then coincides with this is if I were able to completely wipe the phone, I assume that would wipe the recovery as well?
Sorry for some of the novice questions -- I have no problem messing with my old TF300T tablet (because NVFlash will save the day), but this is my only phone, only line of communication and SOLE way for me to answer calls for work (24/7 rotating on-call), so it is VERY important to me to ask questions and not go down for more than 1 hour.
Thanks for all help guys, its much appreciated. I hope to be able to test ROMs regularly and maybe start posting video reviews or something, who knows?
Thanks,
Opethfan89
opethfan89 said:
Hi all,
This is the first time I've tried installing a custom ROM on my VZW S4 (i545) (MDK firmware. Yes, I held out on the OTA since May). I've got a few thoughts and a couple of questions I was hoping could be addressed. I consider myself familiar with flashing ROM's and whatnot, so I won't need hand-holding steps in answer to my questions.
Some info:
VZW S4
MDK Firmware
Recovery: OUDhs CWM Touch Req0very v1.0.3.5
I haven't taken any OTA since I got the phone back in May. This leads me to believe (correct me if I'm wrong) that I'm on Android 4.2.2?
Current ROM: AOKP Nightly Build for 10/31/2013 (MR2)
Thoughts: Holy hell, this ROM is BLAZING fast. I am missing a few features, but none I use regularly (I don't use any of the TouchWiz "smart" features. Damn battery hogs). I was able to flash this over and install GAPPS without any problems. Loading time is incredible, and I love how clean the interface is.
Questions:
Can anyone help me figure out why I cannot install CM10.2? Not sure if that's because I downloaded the wrong version or something, but after flashing it, the screen stays stuck at the Galaxy S4 logo and doesn't move. Maybe I didn't wait long enough, but it surely didn't move in any reasonably expected time (AOKP, by comparison, loaded probably <1 minute). Any thoughts on why this might be? I really want to try CM10.2, so perhaps I should try a different build?
Another question/concern: I downloaded a few different ROMs last night -- CM10.2, AOKP and st0ckdr0id. AOKP installed fine, CM10.2 froze up, but when I installed st0ckdr0id (after wiping out, of course), I got what I think is referred to as a kernel panic. The message was similar to "This phone has software installed on it that Verizon Wireless has determined to be unsafe. Please power off the phone and take to the nearest Verizon Wireless store for help". In the top-left corner, it had in bold RED letters "Kernel secure: FAIL" (or similar wording). I fixed this by booting back into recovery, wiping out, and then installing AOKP again. Can anyone help me understand why this happened?
Why is only ~10GB of space still available when I -thought- I wiped out everything?
What I'm really searching for is an AOSP ROM that is very clean and light, but has SOME of the TouchWiz features. Any recommendations?
My phone only shows me as having a 3G connection, where normally I have 4G LTE. Anything I can do to fix this? Is this an issue with the ROM not detecting the right kind of radio? Bug report, perhaps?
I can't mount my external_sd in my CWM anymore. Yes, I used to be able to do it at one point, because I've done an external nandroid backup to it from within CWM in the past (as of October 29th, if the date on the backups is correct). I've read in other Google searches that it has something to do with the formatting of the SD card, but I haven't removed that SD card from my phone in a few months to have adjusted anything to do with formatting. I plugged the memory card into my Linux laptop this morning while diagnosing this and got an error about an unknown exfat partition. Any advice would be greatly appreciated.
Stupid question: Is there a way to -completely- wipe my internal SD card clean of all my current files? I know when I "wipe" /data I can still see all of my files from the previous installation, and I'm not ballsy enough to wipe /sdcard. I guess the question that then coincides with this is if I were able to completely wipe the phone, I assume that would wipe the recovery as well?
Sorry for some of the novice questions -- I have no problem messing with my old TF300T tablet (because NVFlash will save the day), but this is my only phone, only line of communication and SOLE way for me to answer calls for work (24/7 rotating on-call), so it is VERY important to me to ask questions and not go down for more than 1 hour.
Thanks for all help guys, its much appreciated. I hope to be able to test ROMs regularly and maybe start posting video reviews or something, who knows?
Thanks,
Opethfan89
Click to expand...
Click to collapse
Wow that's a lot. Let's see if we can get you answers.
1. Switch recoveries to twrp 2.5.0.2. I can't stress the importance of the particular version enough. There are others. This is absolutely the most stable. It's what the devs use. I think then your cm issue will be resolved.
Correct way to wipe with twrp.
1.wipe - >factory reset.
2. Advanced wipe - >check system, data, davlik, cache then wipe.
3. The go back to main screen and install rom.
2. Answered by answer one. Lots of people have lots of opinions about the various recoveries. All I can tell you is this is what all the devs use for their recovery. Can't argue with that.
3. Reserved space. It might say you have 16 gigs but a good size chunk is taking merely by formatting. Then the ROM and programs you have installed of course.
4. Honestly they are all freaking great. The aosp roms. You do the answer to number one and you can find out. DU is my fav @ this moment. Followed by beanstalk.
5. Go to mobile networks make sure your network mode is set to cdma +lte/evdo.
6. Answer 1.
7. You don't really want to wipe the entire internal SD card. Sounds good when you think it might screw you if you did it.
Sent from my Nexus 7 using xda app-developers app
Mightycaptain said:
Wow that's a lot. Let's see if we can get you answers.
1. Switch recoveries to twrp 2.5.0.2. I can't stress the importance of the particular version enough. There are others. This is absolutely the most stable. It's what the devs use. I think then your cm issue will be resolved.
Correct way to wipe with twrp.
1.wipe - >factory reset.
2. Advanced wipe - >check system, data, davlik, cache then wipe.
3. The go back to main screen and install rom.
2. Answered by answer one. Lots of people have lots of opinions about the various recoveries. All I can tell you is this is what all the devs use for their recovery. Can't argue with that.
3. Reserved space. It might say you have 16 gigs but a good size chunk is taking merely by formatting. Then the ROM and programs you have installed of course.
4. Honestly they are all freaking great. The aosp roms. You do the answer to number one and you can find out. DU is my fav @ this moment. Followed by beanstalk.
5. Go to mobile networks make sure your network mode is set to cdma +lte/evdo.
6. Answer 1.
7. You don't really want to wipe the entire internal SD card. Sounds good when you think it might screw you if you did it.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Thanks for your response Mightycaptain! I used CWM as my first ever recovery and am kinda pressed on it, which is why I use it, but I have no issues going to TWRP if that means fixing my issues. Can you elaborate on how to install TWRP in place of my current CWM? I'll do some Googling in the meantime to try to find the answer myself. (I haven't done any flashing or rooting stuff since I got the phone in May!!)
Thanks for your answer in #5. Fixed the issue I was having.
My reason for wanting to wipe the entire internal SD card is there are still files, folders, logs and backups from when I had my previous ROM. I'm having issues restoring my nandroid backup from the night of the 7th so is it at all possible for me to salvage some of my settings, apps and file backups from those existing files? Once I fix my nandroid, I'm going to keep the nandroid backup in a safe place and I ideally want to have a completely clean phone to start from: That means getting rid of all those old files and other nonsense from before. Is this a possibility?
I'm going to spend my time today trying to extract data from my nandroid backups using ROM Toolbox Pro. If that doesn't work, I have a nandroid backup from the 31st that has 99% of the stuff I need so I'll try to restore that. If THAT doesn't work, then I'm going to cry myself to sleep while trying to remember all of my contacts
Wish me luck, and hopefully I can get some answers to my last few questions!
Thanks,
Opethfan89
opethfan89 said:
Thanks for your response Mightycaptain! I used CWM as my first ever recovery and am kinda pressed on it, which is why I use it, but I have no issues going to TWRP if that means fixing my issues. Can you elaborate on how to install TWRP in place of my current CWM? I'll do some Googling in the meantime to try to find the answer myself. (I haven't done any flashing or rooting stuff since I got the phone in May!!)
Thanks for your answer in #5. Fixed the issue I was having.
My reason for wanting to wipe the entire internal SD card is there are still files, folders, logs and backups from when I had my previous ROM. I'm having issues restoring my nandroid backup from the night of the 7th so is it at all possible for me to salvage some of my settings, apps and file backups from those existing files? Once I fix my nandroid, I'm going to keep the nandroid backup in a safe place and I ideally want to have a completely clean phone to start from: That means getting rid of all those old files and other nonsense from before. Is this a possibility?
I'm going to spend my time today trying to extract data from my nandroid backups using ROM Toolbox Pro. If that doesn't work, I have a nandroid backup from the 31st that has 99% of the stuff I need so I'll try to restore that. If THAT doesn't work, then I'm going to cry myself to sleep while trying to remember all of my contacts
Wish me luck, and hopefully I can get some answers to my last few questions!
Thanks,
Opethfan89
Click to expand...
Click to collapse
Check my post here for twrp 2.5.0.2.
http://forum.xda-developers.com/showthread.php?p=47275165
You can flash it in your current recovery. It overwrites CWM. I would make sure you have a flashable for CWM just in case you need to go back for some reason. Also the backups between those 2 recoveries are not compatible. But I would nandroid with CWM before flashing twrp. I would also change were you recovery is pointing to for storage to the external SD if you haven't already. After you have cut your current backup and past it there. You can use rom toolbox pro to back up your contacts and restore it once you flash a new ROM.
Now as good advice going forward I would add your contacts to your Google account. That way when you flash new stuff or drop your phone in the toilet as soon as you add your Google account to the phone all those contacts will automatically download. But it is always a good idea to use tibu or rom toolbox pro to back up all your apps and seeing and use that after flashing roms to restore apps and settings.
But honestly I'd nandroid, move my contacts to Google, make app backups. Flash twrp. Then start flashing roms. You could be doing it in an hour. After you flash twrp make another nandroid so you have a twrp compatible backup. Then in a day or so of you are happy with everything delete the CWM backups for space.
Edit: as to extracting things from your current nandroid. Not sure if that is possible for one thing it is compressed not sure how that would work unless you are doing a full restore.
Also for future reference with TWRP. When restoring nandroid wipe like your flashing a new rom before restoring.
Sent from my SCH-I545 using xda app-developers app
Mightycaptain said:
Check my post here for twrp 2.5.0.2.
http://forum.xda-developers.com/showthread.php?p=47275165
You can flash it in your current recovery. It overwrites CWM. I would make sure you have a flashable for CWM just in case you need to go back for some reason. Also the backups between those 2 recoveries are not compatible. But I would nandroid with CWM before flashing twrp. I would also change were you recovery is pointing to for storage to the external SD if you haven't already. After you have cut your current backup and past it there. You can use rom toolbox pro to back up your contacts and restore it once you flash a new ROM.
Now as good advice going forward I would add your contacts to your Google account. That way when you flash new stuff or drop your phone in the toilet as soon as you add your Google account to the phone all those contacts will automatically download. But it is always a good idea to use tibu or rom toolbox pro to back up all your apps and seeing and use that after flashing roms to restore apps and settings.
But honestly I'd nandroid, move my contacts to Google, make app backups. Flash twrp. Then start flashing roms. You could be doing it in an hour. After you flash twrp make another nandroid so you have a twrp compatible backup. Then in a day or so of you are happy with everything delete the CWM backups for space.
Edit: as to extracting things from your current nandroid. Not sure if that is possible for one thing it is compressed not sure how that would work unless you are doing a full restore.
Also for future reference with TWRP. When restoring nandroid wipe like your flashing a new rom before restoring.
Sent from my SCH-I545 using xda app-developers app
Click to expand...
Click to collapse
Hey thanks again for your quick response!! I'm glad I checked this first, because I'm in my ROM Toolbox app atm and it has an option to let me install TWRP 2.5.0.2 from within the app itself. Should I do it this way?
I will be adding all contacts to Google from now on. Unfortunately I saved all my stuff to my Verizon backup assistant so I just need one last shot at my phone to save all those contacts (manually, if I must) and be able to enter them onto the new ROM.
By "flash it in your current recovery" I assume you mean download the .zip, place it on my internal /sdcard, and then "flash" it just like I would flash a ROM, right?
I'm sure I have a "flashable" for CWM somewhere but like I said, I haven't done any of this stuff on this phone since I first bought it, and things have changed so much with everyone having OTA's and being locked out that I'm not sure what process is the same or what has changed. I can't afford to lose this phone so I'm hesitant to go balls to the wall to try things.
I will try the things you've listed here. Seems like a nandroid + TiBu + Google Contacts is my best bet to get up and running each time I decide to try a new ROM.
Thanks again!
opethfan89 said:
Hey thanks again for your quick response!! I'm glad I checked this first, because I'm in my ROM Toolbox app atm and it has an option to let me install TWRP 2.5.0.2 from within the app itself. Should I do it this way?
I will be adding all contacts to Google from now on. Unfortunately I saved all my stuff to my Verizon backup assistant so I just need one last shot at my phone to save all those contacts (manually, if I must) and be able to enter them onto the new ROM.
By "flash it in your current recovery" I assume you mean download the .zip, place it on my internal /sdcard, and then "flash" it just like I would flash a ROM, right?
I'm sure I have a "flashable" for CWM somewhere but like I said, I haven't done any of this stuff on this phone since I first bought it, and things have changed so much with everyone having OTA's and being locked out that I'm not sure what process is the same or what has changed. I can't afford to lose this phone so I'm hesitant to go balls to the wall to try things.
I will try the things you've listed here. Seems like a nandroid + TiBu + Google Contacts is my best bet to get up and running each time I decide to try a new ROM.
Thanks again!
Click to expand...
Click to collapse
Understand the hesitancy completely. But with nodding comes risk. It is always about whether you can accept the worst possible outcome.
Rom toolbox pro flashing recovery? I don't know never tried it.
Yes I would download the recovery. Leave it on SD card reboot to recovery and flash like a rom.
Yes nandroid tibu and saving your contacts to Google is the quickest way to get up and running again.
Sent from my SCH-I545 using xda app-developers app
Mightycaptain said:
Understand the hesitancy completely. But with nodding comes risk. It is always about whether you can accept the worst possible outcome.
Rom toolbox pro flashing recovery? I don't know never tried it.
Yes I would download the recovery. Leave it on SD card reboot to recovery and flash like a rom.
Yes nandroid tibu and saving your contacts to Google is the quickest way to get up and running again.
Sent from my SCH-I545 using xda app-developers app
Click to expand...
Click to collapse
Mighty, just wanted to report that flashing TWRP 2.5.0.2 from within ROM Toolbox Pro worked like a charm. I'm on TWRP as we speak.
Thank you so much for your responses. If anyone else has anything to add, or a different response to my questions, please do so! In the meantime, I'm going to try to figure out how to get my nandroid backup working...
Cheers!
*EDIT* Made a backup with TWRP (whose interface is bloody phenomenal, btw), flashed CWM and its working like a charm!! Going to try the st0ckdr0id one as well. Still working on getting that nandroid working so I can recover my stuff and get to customizing!

Create Flashable Rom from running system?

Hello,
It would be great if someone could help me out.
I have spent the whole day trying to find out if it is possible to create a flashable rom from an already running and setup android device.
I have found many tutorials on how to create roms from scratch, but can't seem to find a way to do it from an already running android device.
I already have an android device setup with all the apps, settings and files I want in the rom. I wondered if there was a way to use my Windows system to create a flashable rom from this device which I can then use to setup/flash new devices.
I hope that makes sense.
Thanks for your time.
Hi there, i am curious as well if this is possible.
I have to set up about 1600 Samsung S5 mini phone's for a customer. Almost al the setting, apps en stuf are identical so i would also like to create a flashable rom / image from one phone so we can install it to the other 1599 phones
Thanx in advance.
steefzz said:
Hi there, i am curious as well if this is possible.
I have to set up about 1600 Samsung S5 mini phone's for a customer. Almost al the setting, apps en stuf are identical so i would also like to create a flashable rom / image from one phone so we can install it to the other 1599 phones
Thanx in advance.
Click to expand...
Click to collapse
Hi,
From what I have read online if you are wanting to do this for a phone you can do a nandroid backup. I have just found a number of guides on how to do this with phones. If you search this forum for nandroid backup you will find them. Hope that helps you steefzz.
I am actually trying to clone TV box with all apks installed and configured. I can see how I can package apks into a rom, but they won't have all addons and settings saved. This is why I was hoping for a way to clone the entire device to restore onto future devices.
Ideally i don't even want to have to power up the devices, I would like to plug them into my PC apply the cloned rom and that's it.
If anyone has an idea of how to do that without having to pre-install any recovery or software onto the devices, or even power them up before hand ( they are already rooted) that would be great.
Thanks again.
sym0n said:
Hi,
From what I have read online if you are wanting to do this for a phone you can do a nandroid backup. I have just found a number of guides on how to do this with phones. If you search this forum for nandroid backup you will find them. Hope that helps you steefzz.
I am actually trying to clone TV box with all apks installed and configured. I can see how I can package apks into a rom, but they won't have all addons and settings saved. This is why I was hoping for a way to clone the entire device to restore onto future devices.
Ideally i don't even want to have to power up the devices, I would like to plug them into my PC apply the cloned rom and that's it.
If anyone has an idea of how to do that without having to pre-install any recovery or software onto the devices, or even power them up before hand ( they are already rooted) that would be great.
Thanks again.
Click to expand...
Click to collapse
Hi,
Thanks for your reply.
With a nandroid backup it wil indeed kind of work out how i want, however when i want to restore a backup to the phone, the backup has to be in \TWRP\BACKUPS\<PhonIdNr>
The Phone Id number is unique and before i can restore a backup, i first have to make a small backup to create these folders.
Also i am expected to write a manual so that other collegaes can also do this procedure. For me it's no problem (i'm using custom roms for about 5 years now with different brands) however most of my collegeas are not known with these methods to restore a nandroid.
So i was experimenting with the creation of a own made custom rom . For now it partially worked. I managed to make a flashable zipfile. However it only work is i dont install the /data folder. If i only install the /system folder it works fine, only i have to maken al bunch of manual setting. When i also install the /data folder the phone is stuck at boot logo, when i then full wipe i, it will boot again.
So i actually would like to maken a flashable zip or an Odin flashable tar that also contains (some) /data.
Is this even possible?

Requesting help ROM HTC One Max 8060 T6DUG (2-Sim)

Hello my fella Developers.
lets do this again. i have the threat all typed up with details and closed it by an accident.
anyways
I have htc one max 8060-t6dug Chinese variant without OS. HTC-1
I had issues with this one, it came with bloatware and lots of it. some of it is pornographic. (got kids who play with my phone)
i decided to root, got the TWRP Recovery. flashed with latest SuperSU. got titanium pro (paid) to get rid of unwanted bloatware. i guess i missed out on something. as soon as i connect with wifi. it starts to download apps. and formatting doesnt help. so i thought maybe repeat the process. BUT in recovery i accidentally wiped system.
i have been through xda developers forums completely found some roms but dead links.
went though several other sites without any luck.
went though Chinese forums (Baidu i think) found some firmwares but TWRP gives me error trying to flash it.
i have tried to flash these with adb command, but mostly get remote not allowed error or space not allocated error.
came back to xda forums and found this
http://forum.xda-developers.com/htc...m-ruu-htc-one-max-809d-t6dwg-sense-5-t3006498
i know this is for t6dwg variant.
t6dwg and t6dug are both Chinese variants and dual sim. i have tried all roms listed on this thread. TWRP Flashed it fine but now when it boots up and gets to lock screen, when i unlock it it show HTC white screen and restarts after a min or so.
I went to the store and purchased another htc one max, same variant. HTC-2
i thought maybe make a nandroid back up and flash it to HTC-1
i repeated the steps and got HTC-2 rooted, latest TWRP, and made the back up. but i am unable to flash it into HTC-1
HTC-1 rooted with latest SuperSu, latest TWRP recovery, unlocked boothloader, s-off, cid-11111111
issues, NO OS!
http://picpaste.com/pics/htc1-l8ImCwQL.1462326306.jpg
HTC-2 rooted with latest SuperSu, latest TWRP recovery, unlocked boothloader, s-off, cid-11111111, boots perfect,
issues, bloatware
http://picpaste.com/pics/htc2-BrCDb5Tw.1462326402.jpg
lets not forget its been about a month since i am trying to figure this out without disturbing developers and wasting their time. this is my last resort
any help would be greatly appreciated.
Thanks in Advance
Anyone out there to my rescue?
@waqas9240 So you made the backup with TWRP? Why not backup to an sdcard one the working one. Place the sdcard in the non-working one and do a restore.
waqas9240 said:
Anyone out there to my rescue?
Click to expand...
Click to collapse
@Flyhalf205! I know i can always count on you for this. yes i used TWRP to make the backup from the working htc and stored it on SD card. and pushed SD card on the non-working Htc but it doesnt recognize it in restore mood in TWRP. i can see the file in Install method that if it has been compressed, but it doesnt let me flash it.
waqas9240 said:
@Flyhalf205! I know i can always count on you for this. yes i used TWRP to make the backup from the working htc and stored it on SD card. and pushed SD card on the non-working Htc but it doesnt recognize it in restore mood in TWRP. i can see the file in Install method that if it has been compressed, but it doesnt let me flash it.
Click to expand...
Click to collapse
Now if I remember correctly inside the TWRP folder will be another folder. The folder name could be the the serial. You'll have to get onto a computer and verify that the backup is in the correct folder inside the TWRP folder.
A good way to verify. On the non-working device, do a backup on just the boot to the sdcard. Then see if you can plug both devices into the computer at the same time to see the directory layout. Then you can copy the backup into the right folders.
Once you bring up TWRP on the non-working device. You should be able to select and swipe to restore perfectly.
Flyhalf205 said:
Now if I remember correctly inside the TWRP folder will be another folder. The folder name could be the the serial. You'll have to get onto a computer and verify that the backup is in the correct folder inside the TWRP folder.
A good way to verify. On the non-working device, do a backup on just the boot to the sdcard. Then see if you can plug both devices into the computer at the same time to see the directory layout. Then you can copy the backup into the right folders.
Once you bring up TWRP on the non-working device. You should be able to select and swipe to restore perfectly.
Click to expand...
Click to collapse
thats what i thought at first. i confirmed the path on both phones. i even got to push the back up in the non working htc to restore from the root as it was located in the working htc max. still does the samething. the second folder after TWRP is serial number folder. i even renamed the serial number to the non working htc ( i dont know if that would have made a difference or not) but still running the same issue. i dont have both phones on me right now. they are at home. let me finish work and will try it again as you explained.
meanwhile if you can figure out something else that would be great bro!
Thanks

How to install an update.zip with not matching device id

Hi. Recently I stuffed my ZTE Blade A452 with MIUI ROM found on here: hxxp://forum.android.com.pl/topic/319435-a452miui-v8-miui-global-8020. I also installed TWRP . I've been using it for a while and unfortunately it didn't meet my expectations. It is barely usable, phone crashes a few times a day, apps aren't kept in background.
I decided to come back to my stock ROM. I don't have, however, any back up of it. There are some sdcard packages on ZTE's support page, however when I tried to install it with TWRP, it displays that packages (all of them) are for device id P635F33, while my device is P635E40. And I found nothing for my dev id.
Is there a way to force installing one of those packages in my phone? Editing version.txt inside update.zip did nothing.
Maybe one of you guys have a matching package?
Also my sister's got the same model, Blade A452, bought at the same service provider. Maybe there is a way to extract a ROM from her phone and put it into mine? (Her device must be left quite untouched).
damiandbcz said:
Hi. Recently I stuffed my ZTE Blade A452 with MIUI ROM found on here: hxxp://forum.android.com.pl/topic/319435-a452miui-v8-miui-global-8020. I also installed TWRP . I've been using it for a while and unfortunately it didn't meet my expectations. It is barely usable, phone crashes a few times a day, apps aren't kept in background.
I decided to come back to my stock ROM. I don't have, however, any back up of it. There are some sdcard packages on ZTE's support page, however when I tried to install it with TWRP, it displays that packages (all of them) are for device id P635F33, while my device is P635E40. And I found nothing for my dev id.
Is there a way to force installing one of those packages in my phone? Editing version.txt inside update.zip did nothing.
Maybe one of you guys have a matching package?
Also my sister's got the same model, Blade A452, bought at the same service provider. Maybe there is a way to extract a ROM from her phone and put it into mine? (Her device must be left quite untouched).
Click to expand...
Click to collapse
You Have a Same Phone Available .That is Great. You can give her Sleep Drug Sneak Into Her Room.Get the Phone From Under The pillow.And Now You can Unlock The bootloader flash TWRP Make a Backup and Then Flash Stock Recovery.Then Put The Phone Back Under The Pillow.The Process Will only Take about 30Mins.
5Min to unlock Bootloader
2.5Min to flash TWRP.
2.5Min to install stock Recovery
And 20 min to move the back Up
Or
You can Slice her Throat and Get the phone.Seriously Save 30Min of time.
Or
You can Backup Using a Desktop Application and Restore on your Phone.
Sent from my Nexus 6P using Tapatalk
Atifbaig786 said:
You can Unlock The bootloader flash TWRP Make a Backup and Then Flash Stock Recovery
Or
You can Backup Using a Desktop Application and Restore on your Phone.
Click to expand...
Click to collapse
Yeah, TWRP on her phone isn't an option, as the whole system is quite buggy and she's gonna probably use the restore option. I'm gonna try with some desktop apps and give an answer in 1-2 hours. Thank you.
Sorry it took so long to answer.
I couldn't make a nandroid backup any desktop app (MTK Droid Tools can't create scatter file, couldn't find any other app).
As I said, TWRP was not an option. But I managed to do the nandroid backup from phone-level anyways.
First I rooted the source device with KingRoot, installed on it BusyBox and made a custom TWRP-style backup on SDcard with Online Nandroid Backup *ROOT. Default settings are fine, even though it couldn't recognize my phone model.
Then I moved SD into target device and performed a backup with TWRP (just to create my device directory). Then I moved the source-phone backup into the new-created directory and performed Restore.
And Voila! On my phone there was a 1:1 copy of the system. It wiped out TWRP so I could perform a system Restore and get a factory-new soft.
Thank You. I didn't even realize it was possible to restore A-Backup on B-Device. Even though my sister's phone was a P635F33 (I didn't know it earlier) and mine was P635E40, it worked well.
damiandbcz said:
Sorry it took so long to answer.
I couldn't make a nandroid backup any desktop app (MTK Droid Tools can't create scatter file, couldn't find any other app).
As I said, TWRP was not an option. But I managed to do the nandroid backup from phone-level anyways.
First I rooted the source device with KingRoot, installed on it BusyBox and made a custom TWRP-style backup on SDcard with Online Nandroid Backup *ROOT. Default settings are fine, even though it couldn't recognize my phone model.
Then I moved SD into target device and performed a backup with TWRP (just to create my device directory). Then I moved the source-phone backup into the new-created directory and performed Restore.
And Voila! On my phone there was a 1:1 copy of the system. It wiped out TWRP so I could perform a system Restore and get a factory-new soft.
Thank You. I didn't even realize it was possible to restore A-Backup on B-Device. Even though my sister's phone was a P635F33 (I didn't know it earlier) and mine was P635E40, it worked well.
Click to expand...
Click to collapse
It Did Work Right.I am Happy To Be of Your Assistance.
Sent from my Nexus 6P using Tapatalk

Categories

Resources