[Q] Unlocking / Rooting Nexus 7 without having to Wipe it - Nexus 7 General

Hello Everyone,
So I have had a Nexus 7 for about a few months now and I love it! I have done some research and I am getting mixed answers.
My question is: Is it possible to Unlock a Nexus 7 without having to wipe the data.
Thanks so much in advance.

No.
The tablet can now be rooted without unlocking the boot loader, however.
There is a third method for re-locking & unlocking without touching the data - but it requires at least one prior unlock which does destroy all data.

bftb0 said:
No.
The tablet can now be rooted without unlocking the boot loader, however.
There is a third method for re-locking & unlocking without touching the data - but it requires at least one prior unlock which does destroy all data.
Click to expand...
Click to collapse
I am checking this out now.
Just wanted to say thanks ahead of time

@handy
If you were asking about this because you were contemplating rooting, please be advised about the importance of making full nandroid backups. Perversely, the rooting guides fail to mention how important this is... especially if you are averse to wiping the tablet.
The reason? If you are rooted and you wedge your O/S somehow with a "mod gone bad", the only means of rescue will be unlocking the boot loader (to be able to use the advanced capabilities of fastboot), which wipes the tablet.
The way to do this with a locked bootloader is to flash a custom recovery to the recovery partition (from a root shell command line) after you have rooted.
That way if something goes wrong with booting the regular OS, you have a custom recovery to fall back on - and hopefully you used it to create a Nandroid backup before modding your lightly rooted stock ROM.
good luck

I agree with @bftb0
Just make it clear, I't possible to root without wipping. But you are still locked. Not possible to Unlock without wipping yet. If your data and OS is important for you (not for me) you must keep a backup first. Don't rely on the words I'll be successfully rooted with my OS and data anything can go wrong at any moment.

I just want to thank you all very very much!
I was successful using the method linked in the original post: http://forum.xda-developers.com/showthread.php?t=2233852
I have been researching for ways to root my Nexus 7 without having to unlock it since unlocking would mean losing all my data and the sole purpose of wanting to root my nexus 7 was to gain access to good backup programs and methods like titanium backup and full bit by bit NAND backups. Which I am still not sure I can use full bit by bit nand yet but hey this is a start in the right direction. And I didn't lose any data doing this.
Thanks so much and I will keep in touch with how it goes.

HandyAndyXDA said:
I just want to thank you all very very much!
I was successful using the method linked in the original post: http://forum.xda-developers.com/showthread.php?t=2233852
I have been researching for ways to root my Nexus 7 without having to unlock it since unlocking would mean losing all my data and the sole purpose of wanting to root my nexus 7 was to gain access to good backup programs and methods like titanium backup and full bit by bit NAND backups. Which I am still not sure I can use full bit by bit nand yet but hey this is a start in the right direction. And I didn't lose any data doing this.
Thanks so much and I will keep in touch with how it goes.
Click to expand...
Click to collapse
Get started on installing a custom recovery (either CWM or TWRP) immediately so that you can make a Nandroid backup.
And then get a copy of that off the tablet for safe keeping.
Note (here I am reading between the lines of your post) that on the N7, Nandroid backups exclude /data/media !! - Basically, everything that you see in "/sdcard" is NOT BACKED UP by Nandroid.
You need a full Nandroid backup in the event of some kind of disaster (rooting experiment or mod gone wrong), but you also do need to backup stuff you feel is worth keeping from your /sdcard. You can use MTP for that if you want.
good luck and be careful.

Thanks for the backup tips! I was not aware that it won't backup sdcard directory.
Not to get off the thread topic because the whole purpose of rooting for me was to gain the best backup possible and being able to use USB flash drives now is nice too.
Anyway, I would like to know what you recommend for backup and how it works / how to use it. I would love to have something that works like acronis. I am really interested in making a bit by bit image that I can store on my desktop or flash drive that I can recover from.
I am researching on my own but I'd love to get input from you guys if you don't mind.
PS: Thanks again! You have been great help!
And now that I see the thanks button, everyone of you is getting a thanks!:good:

Forget my last question asking about backup. That would go in another thread anyway and besides I ventured into using TWRP that I installed using GooManager and its just awesome. Thanks again everyone and be well.

HandyAndyXDA said:
Forget my last question asking about backup. That would go in another thread anyway and besides I ventured into using TWRP that I installed using GooManager and its just awesome. Thanks again everyone and be well.
Click to expand...
Click to collapse
TWRP does exactly what you want with backups

Unfortunately TWRP does not backup everything! Luckily I didn't do a hard factory reset when I was testing it out so I didn't lose any data.
It seems to me that TWRP does not backup internal storage. On another note these android directory names and aliases are really making me crazy lol.
I would really like to be able to recover from a hard factory reset including all data on the nexus 7. Is there any way possible to do this with TWRP or anything else?
Thanks so much.

HandyAndyXDA said:
Unfortunately TWRP does not backup everything! Luckily I didn't do a hard factory reset when I was testing it out so I didn't lose any data.
It seems to me that TWRP does not backup internal storage. On another note these android directory names and aliases are really making me crazy lol.
I would really like to be able to recover from a hard factory reset including all data on the nexus 7. Is there any way possible to do this with TWRP or anything else?
Thanks so much.
Click to expand...
Click to collapse
so, if TWRP were to back up the internal storage, where would it store that backup? It wouldnt be able to store a backup of itself ON itself...
if you want a backup of the internal storage, just copy it to a usb thumb drive over OTG or to your computer, nandroids are not meant to back up 'sdcard' storage and never have been
want to recover from a complete loss of everything?
make TWRP backup
copy /sdcard contents to USB OTG or computer, your TWRP is on that directory so you would be copying EVERYTHING

Pirateghost said:
so, if TWRP were to back up the internal storage, where would it store that backup? It wouldnt be able to store a backup of itself ON itself...
if you want a backup of the internal storage, just copy it to a usb thumb drive over OTG or to your computer, nandroids are not meant to back up 'sdcard' storage and never have been
want to recover from a complete loss of everything?
make TWRP backup
copy /sdcard contents to USB OTG or computer, your TWRP is on that directory so you would be copying EVERYTHING
Click to expand...
Click to collapse
Thanks and sorry I didn't mention that I was backing up using TWRP to a usb flash drive all along. I am having trouble copying /sdcard now for 2 reasons:
1) Sometimes its called "Storage", sometimes its a directory within others, sometimes its called "internal".......I am just not sure what the actual directory is anymore.
2) I have tried copying as much as i could manually to my desktop via usb. but does windows see all that i need to copy and each time i select all and copy it, windows explorer lags and eventually crashes lol.
As of now I am trying to copy one fold at a time to windows. .....no I don't know what I am doing. Just getting frustrated so I am trying to copy it all on my own as well as useing TWRP lol

since MTP came about copying using windows explorer or any file browser, just plain sucks.
you have a couple of options here,
1. Use AIRDroid and copy it over your wifi
2. Use ADB and simply do 'adb pull /data/media C:\path\to\your\backup\folder
personally i prefer adb, i make regular backups of my phone and tablet and keep them on USB thumbdrive or sdcard on my laptop

Pirateghost said:
since MTP came about copying using windows explorer or any file browser, just plain sucks.
you have a couple of options here,
1. Use AIRDroid and copy it over your wifi
2. Use ADB and simply do 'adb pull /data/media C:\path\to\your\backup\folder
personally i prefer adb, i make regular backups of my phone and tablet and keep them on USB thumbdrive or sdcard on my laptop
Click to expand...
Click to collapse
Already tried Airdroid which was working great until about 20 minutes later when it just stopped. Guess its just too much for airdroid too.
Yeah MTP isnt great lol.
And thanks again, I will give the adb method a try.

HandyAndyXDA said:
Already tried Airdroid which was working great until about 20 minutes later when it just stopped. Guess its just too much for airdroid too.
Yeah MTP isnt great lol.
And thanks again, I will give the adb method a try.
Click to expand...
Click to collapse
Oh, one more thing:
Am I correct in saying that all that Windows sees is the total internal storage? In other words every file that I can explore using Windows is what TWRP doesn't backup?

I got the adb command line tool. I have it running, but how do i direct it to the nexus? I mean there is no drive letter for the tablet.
Sorry to be a pest.

HandyAndyXDA said:
Oh, one more thing:
Am I correct in saying that all that Windows sees is the total internal storage? In other words every file that I can explore using Windows is what TWRP doesn't backup?
Click to expand...
Click to collapse
Yeah. Pretty sure.
HandyAndyXDA said:
I got the adb command line tool. I have it running, but how do i direct it to the nexus? I mean there is no drive letter for the tablet.
Sorry to be a pest.
Click to expand...
Click to collapse
Look at the command that i posted. You don't use a drive letter.
Sent from my Galaxy Nexus

Pirateghost said:
Yeah. Pretty sure.
Look at the command that i posted. You don't use a drive letter.
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Tried that exact command aside from changing the save destination and no luck.
I don't know what I am doing wrong lol

HandyAndyXDA said:
Oh, one more thing:
Am I correct in saying that all that Windows sees is the total internal storage? In other words every file that I can explore using Windows is what TWRP doesn't backup?
Click to expand...
Click to collapse
I have not been able to convince myself that the MTP implementation is deterministic, although in theory it is impossible for it not to be. (Translation: I don't trust it at all)
"adb pull" will work best when the remote shell automatically acquires root privileges, but that requires a modified boot image (the /default.prop file in the boot ramdisk) for rooted-stock ROMs, but this shouldn't be needed for "adb pull /sdcard/" - it is needed for pulling files from other areas of /data, or /system, etc though.
You previously mentioned "bit for bit", and that won't happen for adb or MTP as all timestamps, ownership, and file mode info will be lost when files are transferred to a Windows filesystem. The latter two are not particularly important for /sdcard, and I suppose that a lot of people won't care too much about timestamps either. You might feel differently though.
Actually attempting to do something closer to "bit-for-bit" brings it's own set of problems. You could use a (busybox version of) "tar" program in either the recovery or the OS, but you probably need to write the output to a mounted NTFS filesystem because of large-file ( > 2Gb) limitations of FAT filesystems. That's a non-starter with a stock kernel (for the regular OS, anyway) and it is my impression that TWRP's kernel isn't mounting NTFS in rw mode yet (I don't know about CWM)
To date when I've needed to wipe the tablet and restore it I've just used Nandroid backup/restore plus adb pull/push for /sdcard. (I wish adb was faster - it seems to be 3x-5x slower than MTP)
I suppose there are other alternatives (network mounting of CIFS shares using compatible kernels, etc) but I haven't tried them so far.
good luck

Related

[Q] Any changes to the sdcard files will not take

editi guess sdcard is incorrect/confusing for my situation, it's the entire system up to root folders is stuck in a read-only type state.
I didn't really see anything that fits my current problem (sorry if there is an answer somewhere buried in here)
So to start off with info, I installed Android on the TP back in February for my fiancée just for the basics of email, videoplayer, comic reader, internet browsing. Nothing too extravagant, just something with more to offer than webos.
I never did any updates on it because it worked perfectly fine for what it was being used on.
I've changed out the video selection many times as she watches through the shows with no problems.
Now I go to change the files and I delete them, add the new stuff, all seems fine. Then I unmount it and everything I deleted is back and everything I added is gone. I've uninstalled apps and they come back, I've done updates to apps and they revert back to before the update.
I've gone into CMW and done the wipes and even formatted sdcard, cache, etc. Nothing works. Even mounting USB in CWM to add files gives the same result of them disappearing right after it is unmounted.
I've tried ACMEUnistaller but it doesn't work. I saw something flash by the screen about something failing, but it goes too fast to even really see what it's about.
Sorry this is so long. I appreciate any insight!
Kernel
2.6.35-palm-tenderloin
[email protected]ost #12
CyanogenMod version:
9.0.0-RC0-Touchpad-alpha2
Build Date
Mon, Feb 20 13:59:21 CST 2012
Build Number
IML74K
plasticsoldier said:
I didn't really see anything that fits my current problem (sorry if there is an answer somewhere buried in here)
So to start off with info, I installed Android on the TP back in February for my fiancée just for the basics of email, videoplayer, comic reader, internet browsing. Nothing too extravagant, just something with more to offer than webos.
I never did any updates on it because it worked perfectly fine for what it was being used on.
I've changed out the video selection many times as she watches through the shows with no problems.
Now I go to change the files and I delete them, add the new stuff, all seems fine. Then I unmount it and everything I deleted is back and everything I added is gone. I've uninstalled apps and they come back, I've done updates to apps and they revert back to before the update.
I've gone into CMW and done the wipes and even formatted sdcard, cache, etc. Nothing works. Even mounting USB in CWM to add files gives the same result of them disappearing right after it is unmounted.
I've tried ACMEUnistaller but it doesn't work. I saw something flash by the screen about something failing, but it goes too fast to even really see what it's about.
Sorry this is so long. I appreciate any insight!
Kernel
2.6.35-palm-tenderloin
[email protected] #12
CyanogenMod version:
9.0.0-RC0-Touchpad-alpha2
Build Date
Mon, Feb 20 13:59:21 CST 2012
Build Number
IML74K
Click to expand...
Click to collapse
I've run across this 3 times with TPs I work on....
1st one had to be sent back to HP because somehow internal memory was damaged and got locked in some some of read only mode
2nd one I saw, I went into webOS, installed the internalz app, mounted the TP to the computer, then added and erased some files and from then on all was good in both webOS and Android
3rd and 4th (same customer) had to be sent in to HP
Now let me mention I live in Costa Rica so all these have been exposed to several scans at airport security checkpoints. I mention this because I haven't seen anything close to a read only problem with the TPs in the USA
Sent from my aokp_tenderloin using Tapatalk 2
thank you so much for the info. Unfortunately Internalz didn't want to help the items stay deleted either. The stuck in read-only type mode is very weird.
I'm pretty sure I am 3 weeks out of the 1-year warranty on it, plus I am unable to remove android from it to even trick them that it just doesn't work.
I guess I'll try webos doctor and see if that can get it going.
edit: webos doctor not working, even with the closing it at 8-12% tricks and doing the lvm.static..... stuff... 'cause it of course doesn't see to actually delete anything... i'll have to double check tomorrow when i bought it, pretty sure it's over the year and since it turns on and has android kinda screwed
plasticsoldier said:
thank you so much for the info. Unfortunately Internalz didn't want to help the items stay deleted either. The stuck in read-only type mode is very weird.
I'm pretty sure I am 3 weeks out of the 1-year warranty on it, plus I am unable to remove android from it to even trick them that it just doesn't work.
I guess I'll try webos doctor and see if that can get it going.
edit: webos doctor not working, even with the closing it at 8-12% tricks and doing the lvm.static..... stuff... 'cause it of course doesn't see to actually delete anything... i'll have to double check tomorrow when i bought it, pretty sure it's over the year and since it turns on and has android kinda screwed
Click to expand...
Click to collapse
I would suggest trying to restore down to WebOS 3.0. In that procedure you literally wipe EVERYTHING on the internal partitions in novaterm and start from absolute scratch. Therefore, if it a software issue you could solve the problem. However, if it is a hardware issue, you'd be kinda screwed.
Yeah, none of the methods I've ended up finding about this problem or other bricked problems are working at all.
i checked at work when i bought it, which of course the 11th was the year mark... but I do have android installed so even if i can get any chance of them honouring it so close they'll probably be like "oh you have android, that'll be $$$ for us to do anything. thanks!"
So I guess I now I have a paperweight with some features.
cdzo72 said:
I've run across this 3 times with TPs I work on....
1st one had to be sent back to HP because somehow internal memory was damaged and got locked in some some of read only mode
2nd one I saw, I went into webOS, installed the internalz app, mounted the TP to the computer, then added and erased some files and from then on all was good in both webOS and Android
3rd and 4th (same customer) had to be sent in to HP
Now let me mention I live in Costa Rica so all these have been exposed to several scans at airport security checkpoints. I mention this because I haven't seen anything close to a read only problem with the TPs in the USA
Sent from my aokp_tenderloin using Tapatalk 2
Click to expand...
Click to collapse
When you got the tablets back had they been fixed or were they refurbs ? Did HP say anything about Android still being on it?
There is a thread in the General forum about how to restore and downgrade. Have you tried that thread ? It is usually a great way to try and get that last restore before sending it back to HP.
73 de VE6AY
Sent from my HP Touchpad, running the latest CM9 nightly, from the XDA Premium App
how are you adding and deleting files when in android? which version of android do you have installed? have you tried different rom versions? have you tried moving and/or deleting files over adb? are you using windows or linux on your computer that youre connecting the touchpad to? it doesnt make sense that the sdcard would be set to read only. is it only certain folders that you cant modify the contents of, or is it the entire sdcard? are you able to modify contents of folders in the / directory of the device using root file explorer or es file explorer in android? have you run "fix permissions"? Also, running webosdoctor wont wipe the sdcard contents or format the sdcard in any way. its going to change the data in the webos partition and may change some data in the /boot directory.
sstar said:
When you got the tablets back had they been fixed or were they refurbs ? Did HP say anything about Android still being on it?
Click to expand...
Click to collapse
They had been fixed but the owners sent them off and had to pay for the whole thing because they had Android on them. When I got my hands on them again I just reinstalled Android. HP charged a little over a hundred dollars for the fix
Sent from my aokp_tenderloin using Tapatalk 2
cdzo72 said:
They had been fixed but the owners sent them off and had to pay for the whole thing because they had Android on them. When I got my hands on them again I just reinstalled Android. HP charged a little over a hundred dollars for the fix
Sent from my aokp_tenderloin using Tapatalk 2
Click to expand...
Click to collapse
Thanks for the answer, this would tend to suggest that the problem is software based corrupted or otherwise. I am trying to find a program that will allow me to read/format the Android partition on my windows computer and will let you know if come up with anything.
Regards
i guess i should change the title slightly.. it's not sdcard, but basically the entire touchpad contents. go to root and delete whatever i want and it doesn't matter. connect it and format with windows and it doesn't actually matter.
haxin said:
how are you adding and deleting files when in android?
Click to expand...
Click to collapse
i've added and deleted just by using mtp. i've also deleted the files on the android side with the video player (vplayer) i've installed es file explorer (which after restart is gone) and deleted with that. i've also gone into webos and installed internalz pro and deleted files that way, which it then seems to work until i of course do anything related to restarting.
some of the files i've put on, i've had it recognize briefly. so for the video file, start it, then it gets really choppy/glitchy playing it. so stop it, go back into the vplayer and it's back to the old stuff
which version of android do you have installed? have you tried different rom versions?
Click to expand...
Click to collapse
android version 4.0.3. nothing else will install. if i add files while in android, when i boot into cwm they are gone. if i mount usb in cwm and add them they stay briefly but when i try to flash them they fail.
have you tried moving and/or deleting files over adb? are you using windows or linux on your computer that youre connecting the touchpad to?
Click to expand...
Click to collapse
i have not tried adb yet, just not as familiar using it properly, i will give it a try though.
i am using windows 7 on my laptop currently. i do have a pc upstairs that i barely use that has vista, but i don't know how that would make a difference to the touchpad
it doesnt make sense that the sdcard would be set to read only. is it only certain folders that you cant modify the contents of, or is it the entire sdcard?
Click to expand...
Click to collapse
yeah as i put above i guess saying sdcard was a bit confusing/misleading (my bad, sorry!), i didn't really know what else to call it at the time or how to explain myself properly at first.
are you able to modify contents of folders in the / directory of the device using root file explorer or es file explorer in android?
Click to expand...
Click to collapse
i can move/delete/modify anything which has absolutely no effect to the device. i've used es file explorer and gone up to root and deleted everything and the system runs fine. says the system is empty with lots of free space (its the 32gb model) but restart or even go into recovery and everything is once again there.
have you run "fix permissions"?
Click to expand...
Click to collapse
i've run it a few times. just acts likes it's working and then says done. i've even gone into the mounts and storage in cwm and formatted sdcard/cache/data/system. does nothing at all in the end of things
Also, running webosdoctor wont wipe the sdcard contents or format the sdcard in any way. its going to change the data in the webos partition and may change some data in the /boot directory.
Click to expand...
Click to collapse
it was just something to try to get somewhere right. it never gets past 12%. always fails to reboot.
I am currently letting the battery drain and see if it dying and then being charged will do anything. probably not. but who knows. i talked to a "tech" on the chat support (i never mentioned android) who told me that having preware installed in webos causing it to become corrupt and they "don't knowledge of preware installed devices" exact words. no idea what that means haha don't have knowledge, don't acknowledge...
anyhow. i've not quite given up. i just don't really see it turning out any differently from the previous times. i do appreciate all the feedback and help very much though
ok so heres what I would try. First try flashing a new fresh rom. download one that you want to your computer like cm9 nightly or aokp or whatever you feel like. then boot into CWM recovery connect the touchpad to the computer via usb. then connect to the touchpad with adb. I'm not sure how to do this in windows because it's been so long since I've done it on a windows box, I always use linux.
adb has alot of options, you can move files to and from the device, you can uninstall or install app packages, and more. this way you can adb push the rom .zip to the touchpad's sdcard while youre in cwm recovery. this way you dont have to reboot the touchpad and risk having the file disappear, you can just go to 'install zip from sdcard' and then 'choose zip from sdcard' in cwm recovery after you adb push the rom, you should see it in the folder you pushed it to on the sdcard.
If you arent familiar with how to use adb from the command line or the terminal this might not make alot of sense and i dont know how better to explain it than that. Also yes windows 7 vs windows vista does make a difference there are issues with novacom installing properly, that's why you would have problems running acmeuninstaller or acmeinstaller2. if you look around you should find some videos or how to's that can probably explain it better. Hope this helps.
http://www.webos-internals.org/wiki/Novacom_with_Windows_7
http://forums.webosnation.com/webos-internals/295881-webos-doctor-12-issue-fixed-5.html
http://forum.xda-developers.com/showthread.php?t=1426244 is the thread I was talking about - it allows you to access the hard root of the device, repartition it, and start again from scratch. It is what I was suggesting last night, from my tablet when I didn't have the link handy.
ve6ay said:
http://forum.xda-developers.com/showthread.php?t=1426244 is the thread I was talking about - it allows you to access the hard root of the device, repartition it, and start again from scratch. It is what I was suggesting last night, from my tablet when I didn't have the link handy.
Click to expand...
Click to collapse
Probably the best suggestion yet given that everything else has been tried.
Good luck.
****EDIT****
Before you attempt the step above I have just noticed a difference between between cwm and. TWRP2.2 which I have installed on my Touchpad via goo manager. If I open recovery via goo manager and then select wipe it gives me 4 options cache, davlik, factory reset AND system which i think says will remove your rom . I don't see the forth option available with the regular cwm/clockwork. Just a thought.
All the best with whatever you try next.
sstar said:
Probably the best suggestion yet given that everything else has been tried.
Good luck.
Click to expand...
Click to collapse
this would work, however you have to fix you novacom/novaterm issues on your windows machine before you'll be able to do any of this. the reason acmeuninstaller, acmeinstaller2 arent working is likely because youre on a windows7 64bit box and Palm-sdk, the novacomd.exe, noverm.exe, and javaruntime apps and drivers arent setup right. just make sure you have the proper javaupdates on your computer then you can install preware in webos, preware has some nice tools that will delete the entire android install partitions, one is called 'remove android' and the other is called 'tailor' you run them from within webos. after you do that then in webos you should do a full device reset. you'll find it in the "info" tab under settings in webos. this will delete and reformat the whole /media ,(aka sdcard) partition. so you will lose all the files you have stored on both webos and android. that format will take a long time probably like 30 min or more. after thats done. reboot the hp and run webosdoctor. now i know for sure this will work because ive done it on mine. remember to put the touchpad in developer mode in webos first to install preware. you can do that by typing webos20090606 into the webos search bar and hitting enter. I'll put links from my box.com accou t to everything you need.
https://www.box.com/s/479acdb6ef9c99fc7b92
https://www.box.com/s/1aed4722990aad251570
edit: also I'm not sure if youre on the 16gig 32gig or 64gig pad, the webosdoctor that i linked is for 32gig wifi only US version. if thats not what you have then youll need to get the doctor for for specific touchpad. or you could create a webosmetadoctor but thats a whole nother project.
i have the 32gb version. i assume US and Canadian aren't gonna make a difference
i've tried all those threads. any novacom/novaterm stuff doesn't work, the files won't delete so when trying to recreate they just error saying it already exists.
if the devices is on in androind the adb can find the device although the "Serial" has a bunch of ???? at the end of it. when i go to cwm adb cannot find the device.
in cwm i can mount and add files that way and go back to install zip sdcard but get:
Code:
--Installing /sdcard/aokp_tenderloin_milestone-4.zip
Finding update package...
Opening update package...
E: Can't open /sdcard/aokp_tenderloin_milestone-4.zip
(bad)
Installation aborted
used "remove android" in webos, but then nothing is different after the fact as usual. 'tailor' doesn't seem to exist anymore in preware at least that i can find
not sure if there is anything else I can do at this point
plasticsoldier said:
i have the 32gb version. i assume US and Canadian aren't gonna make a difference
i've tried all those threads. any novacom/novaterm stuff doesn't work, the files won't delete so when trying to recreate they just error saying it already exists.
if the devices is on in androind the adb can find the device although the "Serial" has a bunch of ???? at the end of it. when i go to cwm adb cannot find the device.
in cwm i can mount and add files that way and go back to install zip sdcard but get:
Code:
--Installing /sdcard/aokp_tenderloin_milestone-4.zip
Finding update package...
Opening update package...
E: Can't open /sdcard/aokp_tenderloin_milestone-4.zip
(bad)
Installation aborted
used "remove android" in webos, but then nothing is different after the fact as usual. 'tailor' doesn't seem to exist anymore in preware at least that i can find
not sure if there is anything else I can do at this point
Click to expand...
Click to collapse
ok no one will be able to help you fix this issue unless you give complete details of the problems. when you say " novacom/novaterm stuff doesn't work" we cant really help specific error details is what i need. I dont mind helping you fix this but you have to be a little more specific on exactly what,where, and how youre installing and running and mounting apps and directories.
your problem IS fixable but you need to slow down and really do things exactly step by step.
Ok so back to ./adb. now when you boot in to CWM recovery on he touchpad DONT do anything in CWM just plug it into the computer. do not mount it as a usb storage and dont mount or unmount the sd partition LEAVE IT.
you can then use ./adb from the command line or terminal on the computer to move the files to the touchpad' or install apk's uninstall apk's you name it. This will require that you know some linux terminal commands. for example to move a new rom zip to the internal sd card or into any other folder you can use ./adb push command to run a root shell on the android device itself you can use ./adb shell and then change folder and file properties from readonly to rw. this can all be done while the touchpad is patiently waitng in CWM recovery. this way when youre done installing or uninstalling apps from the device and moving flash zips to it, you can disconnect the .adb connection with ./adb disconnect or just type exit from the terminal till it closes. unplug it then you will be able to pick up the touchpad and install zip from the sdcard, keep in mind you dont want to choose 'apply u[date from sdcard' you want to use the 'install zip from sdcard option' you can read up more on how adb works. it is probally the most important part of hacking android.
with that being said. novaterm is the palm webos version of .adb. this is why when you boot into webos recovery to do things like acmeinstaller and acmeuninstaller2 the novaterm novacom and novacomd apps have to be installed correctly on the computer or else you wont be going anywhere fast. some screenshot examples of how it should appear below.
https://www.box.com/s/432e63a83215f00eea6a
https://www.box.com/s/970bc29542a05f98f036
https://www.box.com/s/63c0f656e8354f7f2d6a
https://www.box.com/s/cbe3266467ae8e3ebabe
https://www.box.com/s/005e56a61a178dd17fa4 some better resolution images.
Plasticsoldier said
used "remove android" in webos, but then nothing is different after the fact as usual. 'tailor' doesn't seem to exist anymore in preware at least that i can find
not sure if there is anything else I can do at this point
Yes there is
Firstly tailor does exist, it is a beta and the facility to dl must be enabled.
Read this and scroll down to Enabling beta test feeds and follow the instructions , when you get as far as using the Linux command you CAN copy and paste thank God.
http://en.m.webos-internals.org/wiki/Testing_Feeds?wasRedirected=true . After that reboot into Webos and launch preware. Go into managed feeds as per the instructions in the link above and install Tailor. Reboot again and the app will work. It looks very good actually.
But before attempting to actually use Tailor please read the article I have posted below it is only 7 pages long but will explain how to use Taylor properly as it is a powerful tool.
http://forums.webosnation.com/webos...partition-filesystem-editor-beta-testing.html
I have done all of this , this morning so if you have any problems pm me or ask in this thread.
I sincerely hope that this helps, it should be the answer to your problems.
@haxin: sorry, wasn't trying to be unhelpful when everyone is being helpful to me. I shall be more detailed in future responses. I think i was getting frustrated and had had a busy exhausting day so it didn't help me come across clearly/properly.
OK, so I had preware installed already, so I removed it, went into developer mode, used the linux commands, reinstalled preware, added Tailor.
(i've done this a few times, because I didn't remove the cable after doing the linux commands for preware, then i accidentally hit the wrong buttons and it connected to 'usb drive' mode and wouldn't connect on the pc side and got stuck on the "ow disconnected me properly next time" screen).
So it gives me the following options
USB (media)
Android (system)
Android (cache)
Android (data)
Unused Space
the 'usb media' starts mounted and will mount again if unmounted. If I use 'check filesystem' it'll pass. So then I try 'delete partition' which pretends to delete, then it takes me to the unused partition which is still at 16mb. so i try to use "check filesystem' again and it fails. try repair and it fails as well
I've tried mounting the android parts just to see, they just sit there processing that they are trying to mount. trying to delete or anything else fails as well.
and now after trying things, any of the 'cards' will try to open and just sit there grey. and with my usb cable not plugged in it still is giving me the option to enter usb drive mode. and with this i have to restart and go through the steps again of adding Tailor which is getting tedious.
I restarted, went through the motions to get back to Tailor. trying out resizing just to see how that goes. So far 15%. not sure what will happen when done, but we will see.
This is getting long, so i'll end this part and update on anything and also try to familiarize myself with adb a tad more

Encryption lollipop?

Hi there! I was wondering if anyone has been able to get encryption to work on lollipop? I'm running stock rooted lollipop on my purse edition and when I go to encrypt it shows the android/gear then screen goes black and stays that way.
Thanks in advance!
PS. not a noob with android adb/fastboot or root
Yeah I've got the same issue. I have no clue what's causing it. A few people on the Moto X subreddit mentioned that a factory reset made it possible, but that's not really a step I want to take just to gain encryption.
Not sure you may want it - big problems on the nexus 6,its bogging down the phone to the point of embarrassment. I know this isn't a nexus 6, but it's damn close! So be careful what you may want to enable!
npompei said:
Not sure you may want it - big problems on the nexus 6,its bogging down the phone to the point of embarrassment. I know this isn't a nexus 6, but it's damn close! So be careful what you may want to enable!
Click to expand...
Click to collapse
ive heard that b4 and i would like to see some actual proof, maybe run a week with the encryption and a week without.
SurlyDuff said:
Yeah I've got the same issue. I have no clue what's causing it. A few people on the Moto X subreddit mentioned that a factory reset made it possible, but that's not really a step I want to take just to gain encryption.
Click to expand...
Click to collapse
okays ill make a backup and attempt tonight. will let know if fixed it. if not im going to downgrade to 4.4.4 and then upgrade to 5.0 and do a factory wipe to see if being rooted was the problem
Sigh, I realized after writing all this that I'm talking about kit kat, not lollipop. I'd assume that much is the same safe mode thing should still work, but not sure about the various directories I refer to when undoing encryption or app compatibilities.
--
I encountered this problem. There are multiple potential roadblocks. Mostly related to uncooperative background programs. The easiest thing to do is to boot into safe mode and then encrypt. That's what worked for me. If you still have a problem, have supersu remove the su binary and then try again in safe mode.
Just Google how to boot into safe mode.
---------- Post added at 02:50 AM ---------- Previous post was at 02:03 AM ----------
Note that TWRP does not decrypt encrypted data partitions for our device. Also, you can't simply unencrypt.
I ended up undoing encryption because the phone was noticeably laggier. Thus process was not well documented anywhere and was painful.
How to undo encryption (need root, obviously. From my recollection, so there may be errors):
1) Make an onandroid. Since you're doing this after you've booted, the nandroid will have images of the unencrypted partitions. https://play.google.com/store/apps/details?id=com.h3r3t1c.onnandbup
2) copy this to the appropriate place in the twrp folder, to prepare for your eventual nandroid restore. Example: /data/media/0/TWRP/BACKUPS/TA44904H9S/2014-10-31--01-05-42/
3) copy the entire contents of your sdcard, including the nandroid you just made, to a computer or USB OTG (usb otg drive is easier). Twrp directory ownership and permission are screwed up, so make sure the nandroid copied over. You may have to explicitly navigate to /data/media/0 to make it copy (as opposed to /storage/emulated/0)
4) Use the following program to copy and eventually restore the timestamps: https://play.google.com/store/apps/details?id=br.com.pogsoftwares.filetimestamp . If you don't do this, the grouping of your photos and videos in gallery will be messed up. There may be other files for which this is important, I'm not sure.
5) go to twrp, and at least do a factory reset and format/wipe sdcard (not 100% sure, I may have just wiped everything)
6) copy the saved contents of your SD card to /data/media/0. I don't recall if I used twrp file manager or qtadb for this.
7) the directory and file permission on sdcard will be ****ed. Run this script to fix that: https://www.dropbox.com/s/ur596dpgzw478qm/perm.sh?dl=0 . Google to figure out how to run scripts from twrp terminal. Don't try to do this later. When I tried to do it from within android it didn't work because the version of chown I had didn't support one of the switches in the script
8) reboot into android
9) use the timestamp program to fix the file timestamps on your sdcard. I never saved the timestamps ahead of time. The program can fix the photo timestamps based on exif and the video timestamps based on filenames. But it's just easier if you saved the timestamps ahead of time.
10) immediately reboot to twrp and restore just the data partition. If you don't do this, Gallery will never fix itself based on the fixed timestamps.
11) some app data on sdcard may still be screwed up. If a program is not working right, go the the relevant directory in /sdcard/android/data and delete it.
I'm sure there are errors somewhere in the guide, just pm me if there is a problem and I'll figure it out and fix this guide
i ended up downgrading to 4.4.4 then updated to 5.0 factory reset (from inside os), encrypted i see not decrease in speed, benchmarks are same as before, will keep updated. i am rooted again and have no warning boot loader image.
So after using it for about a week. It seems the more you use the device the more lag it produces. I like the security from it.. But its not worth this insane decrease in performance.
eavandy0797 said:
So after using it for about a week. It seems the more you use the device the more lag it produces. I like the security from it.. But its not worth this insane decrease in performance.
Click to expand...
Click to collapse
How did you downgrade to 4.4?
Thanks.
swears11 said:
How did you downgrade to 4.4?
Thanks.
Click to expand...
Click to collapse
i followed the directions from Motorola. https://motorola-global-portal.custhelp.com/app/standalone/bootloader/recovery-images
i used the Moto X(2nd Gen) Pure Edition:
KK-4.4.4-KXE21.187-42-41 TMO image

TWRP Recovery Issues Thread

I'm starting this thread to move the topic out of another forum.
I encountered the issue of TWRP not being able to write to the internal storage after downgrading to 4.4.4 and only flashing the boot, system & baseband images from the KXE package Motorola provides.
It gave the error message errno=13
It gave the same error on 4.4.4 & 5.0
I had double-checked all permissions & symlinks.
To fix the issue I had to re-flash the KXE recovery, reboot the bootloader & then reflash TWRP 2.8.6.0, then all was well with both 4.4.4 & 5.0
adm1jtg said:
Not sure if this solves the error 13 or not but I can confirm using your process exactly OTG is still broken on 2860 and still works in 2850 so separate issue I would guess but since I need OTG for my backups and restores I will keep using the modded 2850 for now. Can you confirm on your setup if OTG works or not from within twrp. On mine the drive light doesn't even come on, I cannot mount it it just vibrates and I cannot backup to it. All the correct options are there but it cant access the drive at all..
Click to expand...
Click to collapse
@adm1jtg Can you backup to the internal storage?
defcondev said:
@adm1jtg Can you backup to the internal storage?
Click to expand...
Click to collapse
I had other weird issues. Initially mine would backup internally just fine but those files could not be viewed from rom side aka root explorer and such couldn't see files. Only twrp could see the backup files. I then formatted the sdcard and got the error #13 error.
To be honest I FINALLY got my phone setup and backed up the way i want it. The newly re-released 2850 works in all aspects I have tested, aka no error 13, can see files backed up internally on rom side, can see and use otg thumb drive for both backups and restore. Since 2850 works for all I need I really am not overly motivated to test much with 2860 just to be honest with you.
Since I confirmed that OTG is still broken in 2860 that makes using 2860 a deal breaker for me.
adm1jtg said:
I had other weird issues. Initially mine would backup internally just fine but those files could not be viewed from rom side aka root explorer and such couldn't see files. Only twrp could see the backup files. I then formatted the sdcard and got the error #13 error.
To be honest I FINALLY got my phone setup and backed up the way i want it. The newly re-released 2850 works in all aspects I have tested, aka no error 13, can see files backed up internally on rom side, can see and use otg thumb drive for both backups and restore. Since 2850 works for all I need I really am not overly motivated to test much with 2860 just to be honest with you.
Since I confirmed that OTG is still broken in 2860 that makes using 2860 a deal breaker for me.
Click to expand...
Click to collapse
I had that issue as well (not being able to view the TWRP folder);
The folder wasn't showing up in storage/sdcard but was showing up in data/media/0
To fix this there are a couple things you need to do;
1. Using a terminal emulator, execute the following command
su
restorecon -FR /data/media/0/*
2. Using a root-enable file browser, go to /data/media/0/ and change both the Owner & Group of the TWRP folder to "media_rw" (without quotes) and make sure permissions are set to drwxrwxr-x
defcondev said:
I had that issue as well (not being able to view the TWRP folder);
The folder wasn't showing up in storage/sdcard but was showing up in data/media/0
To fix this there are a couple things you need to do;
1. Using a terminal emulator, execute the following command
su
restorecon -FR /data/media/0/*
2. Using a root-enable file browser, go to /data/media/0/ and change both the Owner & Group of the TWRP folder to "media_rw" (without quotes) and make sure permissions are set to drwxrwxr-x
Click to expand...
Click to collapse
Different scenario as i had that happen to me on my 2013 where it went into a 0 folder. This was not the case on the 2014 it LITERALLY didnt exist anywhere, the twrp folder existed with NOTHING under it. But in twrp all files and file structure were visible and working. Mass storage did show the space being taken up of course.
Just to clarify all this mess and all these issues are cause I was going back and forth between lp and kk. It was not REALLY an issue with twrp per say EXCEPT the otg not working... that IS specifically a twrp issue near as i can tell

Rooting the OP3T without loosing anything and being able to revert to unrooted state

Ok, here the thing, I would love to root my OP3T, and I have downloaded the toolkit (https://forum.xda-developers.com/oneplus-3t/development/toolkit-oneplus-3t-toolkit-unlock-t3507729) and understood I will have to unlock bootloader and hence wipe everything. However, the backup options of the toolkit backs up apps and app data, but not the rest of the internal SD (i.e. my music, my movies, my files...). Any chances of having a tool with no root that would back up everything, so that I can restore my OP3T to the non-rooted state I had before tweaking it ?
Tried Helium, but no success. Thanks for the help.
StressFull said:
Ok, here the thing, I would love to root my OP3T, and I have downloaded the toolkit (https://forum.xda-developers.com/oneplus-3t/development/toolkit-oneplus-3t-toolkit-unlock-t3507729) and understood I will have to unlock bootloader and hence wipe everything. However, the backup options of the toolkit backs up apps and app data, but not the rest of the internal SD (i.e. my music, my movies, my files...). Any chances of having a tool with no root that would back up everything, so that I can restore my OP3T to the non-rooted state I had before tweaking it ?
Tried Helium, but no success. Thanks for the help.
Click to expand...
Click to collapse
How about copying the stuff via mtp or even better with adb (adb pull /storage/emulated/0/ C:\your\destination\folder\here)?
4_ever_dave said:
How about copying the stuff via mtp or even better with adb (adb pull /storage/emulated/0/ C:\your\destination\folder\here)?
Click to expand...
Click to collapse
Yep, agree. Any option for the lazy ones ?
Plus it does not really address the "back to unrooted" request !

Sort of a bootloop after Android 11 update

Hello guys,
I hope someone can help me with this problem...
So the thing is - yesterday I finally got OneUI 3 and Android 11 update (yay?). But ofcourse as soon as the phone rebooted and optimised all the apps and came back to main screen it rebooted after a minute or so...everytime. As soon as I enter my pin and unlock the phone it reboots after a short period.
The same problem happened when I de-bloated the phone a while ago via ADB - but I then enabled back all the apps except facebook and some "safe to debloat apps" which were not even system apps and it has since worked for almost a year. But here we go again....
I even "re enabled/installed" all the apps I could list in ADB ( so basically all the apps on the phone) and then went to wipe cache - but still no go.
I am also wondering if there is a posibility to somehow mount storage just to copy some files to my computer (which are important, and my latest backup is around a month old) and then I'll gladly do a a factory reset - no problem.
Any help would be appreciated, thanks!
If you're able to use ADB to enable/install apps, then you should be able to use "adb pull path/to/files" to copy the files to your computer. You could reboot into recovery mode and see if your computer pulls up the storage that way too. Also, if you have TWRP, you can use the file system to copy files to an external SD card. So you have a few options to get your files.
You can also create a back-up of specific apps (and their data) using "adb backup -f MyBackUpName.ab com.corp.AppName".
TacoDeMuerte said:
If you're able to use ADB to enable/install apps, then you should be able to use "adb pull path/to/files" to copy the files to your computer. You could reboot into recovery mode and see if your computer pulls up the storage that way too. Also, if you have TWRP, you can use the file system to copy files to an external SD card. So you have a few options to get your files.
You can also create a back-up of specific apps (and their data) using "adb backup -f MyBackUpName.ab com.corp.AppName".
Click to expand...
Click to collapse
Hello, thanks for the reply and helping out.
But all the commands and stuff is kinda useless because the phone reboots sooner than in 30 seconds after getting to the main screen. When I boot to recovery the storage doesn't get mounted.......
And I would've had TWRP but the phone is still under warranty so that's a shame, because on my backup phone I have it (and so did on all the previous ones) and it would be great. But IIRC if I install TWRP now, the phone needs to be wiped.
FFS samsung, what is this....because I now read a couple threads and posts on social media people having exactly same problem, and some didn't do anything with ADB prior to update. shame...

Categories

Resources