yashsingh1/xdaforums huggingface dataset:
[G Pad 10.1 General] Excavator2015:
It can't find the tablet...how do I initiate it?

It's saying "not found"
[G Pad 10.1 General] BeeWall:
What do you mean, "It can't find the tablet"?
[G Pad 10.1 General] Excavator2015:
No, it's not finding it. Maybe some commands to get it to find it perhaps?

I tried adb shell and Android devices...said not found.
[G Pad 10.1 General] BeeWall:
What isn't finding it?

---------- Post added at 04:19 PM ---------- Previous post was at 04:15 PM ----------

The command isn't found, or adb can't find the device?
[G Pad 10.1 General] Excavator2015:
Both, when I type adb devices it wouldn't find it, and when I typed android devices, it wouldn't find it. I must be doing something wrong here.
[G Pad 10.1 General] BeeWall:
You don't need adb. Since you installed Lineage, you can boot to recovery by enabling Advanced Reboot in developer settings, and you can type the command in the TWRP terminal rather than adb shell.
[G Pad 10.1 General] Excavator2015:
I'm in twrp, when I typed it in, it didn't recognise anything.
[G Pad 10.1 General] BeeWall:
Hmm... In TWRP terminal, type `busybox` and see if the output contains any command with "md5" in it. Also, what TWRP version do you have? Maybe that's why you don't have it?
[G Pad 10.1 General] Excavator2015:
I'm on 3.1.1, I'll try that quick.

That worked, and md5sum is in there in the list.
[G Pad 10.1 General] BeeWall:
Hmm, I'm on the same version. No idea why you wouldn't have that command. Maybe try `/sbin/busybox md5sum /dev/block/platform/msm_sdcc.1/by-name/aboot`, in case the PATH or busybox symlinks are messed up?
[G Pad 10.1 General] Excavator2015:
Will do.

---------- Post added at 05:19 PM ---------- Previous post was at 05:00 PM ----------

Applet not found.
[G Pad 10.1 General] BeeWall:
OK, flash the attached zip and then, before rebooting, run `/sbin/tmp/busybox md5sum /dev/block/platform/msm_sdcc.1/by-name/aboot`. The zip will temporarily extract the version of BusyBox I'm using, since I know that it has md5sum. On reboot, the file will disappear.
[G Pad 10.1 General] Excavator2015:
Ok give me a few.

---------- Post added at 06:02 PM ---------- Previous post was at 05:31 PM ----------

Same deal, applet not found.
[G Pad 10.1 General] BeeWall:
Weird... Anyway, try the attached zip. Pretty sure I've fixed it.
[G Pad 10.1 General] Excavator2015:
You sure this time? Haha :)

---------- Post added at 06:53 PM ---------- Previous post was at 06:10 PM ----------

Man, you're awesome! What did you do??!! It worked perfectly! LG splash screen and Lineage boot screen work perfect! Thank you man!

Now I need to fix my internal storage issue..that low storage thing. I'm hesitant to flash the storage fix zip, I don't have an SD card for the tablet.. :( any other solutions? Like I've said before, I'm not very good with the adb/ command stuff. Its definitely confusing..I wouldn't retain that stuff that quickly, but I can sure figure out how to fix my to tablet, thru researching, and my LG g3 after I bricked it! Along with flashing kernels, recoveries and ROMs, I guess what I'm saying is I am not very good with the internal side of things.

Thank you Soo much man.
[G Pad 10.1 General] BeeWall:
I changed it from running a separate script to running it directly from the updater-script.

The only way is either my (hopefully working ?) script, or the commands. Unfortunately, it requires deleting and remaking the partition. However, I'm working on a version that hopefully won't wipe.
[G Pad 10.1 General] BeeWall:
Could you flash the attached zip and run `parted /dev/block/mmcblk0 u s p` in twrp and post the output?
[G Pad 10.1 General] Excavator2015:
Sure man, I'm leaving work in 20 mins, I'll flash and report then.

---------- Post added at 09:39 PM ---------- Previous post was at 08:56 PM ----------

Are there spaces at the end for the "u s p"?

Says not found.
[G Pad 10.1 General] BeeWall:
Device not found or command not found?
[G Pad 10.1 General] Excavator2015:
Command, I type everything in you said to put in and it didn't come back with anything besides the "not found" thing.
[G Pad 10.1 General] BeeWall:
Try flashing the attached zip first, then running `/sbin/parted /dev/block/mmcblk0 u s p`. Make sure not to reboot before running the commands.
[G Pad 10.1 General] Excavator2015:
Same deal. We got the white lines fixed, now we just have to figure this out. Lol
[G Pad 10.1 General] BeeWall:
Strange, it works for me. I have no idea what the issue is.

Since you just installed a new ROM, you probably don't have many files, right? If you are willing to risk wiping them, could you try flashing the attached zip and seeing if it wipes or not?

If anybody knows, the sector each partition starts on should be the same across devices, correct? I need to figure this out to be sure the no-wipe storage fix won't break anything.
[G Pad 10.1 General] Excavator2015:
Hate to say this, but it says the file is corrupt.
[G Pad 10.1 General] BeeWall:
The zip file?
[G Pad 10.1 General] Excavator2015:
Yeah, the one you just sent me like an hour and a half ago, to see if it whiles anything. :(
[G Pad 10.1 General] BeeWall:
That might've been because it didn't delete some of the files from it, not sure. If so, this zip should work.
[G Pad 10.1 General] Excavator2015:
Well it didn't delete anything...I watched it flash the zip and do its thing, but she I rebooted the tablet and I went into storage, it still show max 14gb and 12gb is taken up, all from system.
[G Pad 10.1 General] BeeWall:
What I meant was that I had moved around some files inside the zip, but the old files weren't deleted, so it might've messed something up, since they weren't in the manifest.

14gb max (actually 14.68) is what you can access when it is fixed. However, the ROM has the max storage hardcoded (I think), so Lineage, stock, and every other non-test ROM will say that. Based on the 12gb used by system, it did not fix the storage (actually, the partition is probably fixed, just not the filesystem). I'll look into that more. Thanks for testing!
[G Pad 10.1 General] Excavator2015:
Not a problem man, again, let me know if you get another zip with the file system fix. Might as well include the file system fix and the partition again in a new one. :) so at least its got both included. :D

Keep me posted!

Thanks again!

Edit: For my storage..I just looked at it again, its not 12gb, its 13.03gb out of 14.68gb. Sorry man, my bad.
[G Pad 10.1 General] BeeWall:
Try this one. I've added "-f" to e2fsck, just in case it wasn't checking and that was why the fs isn't resizing.
[G Pad 10.1 General] Excavator2015:
OK man, I'll flash and let you know. :)
[G Pad 10.1 General] Excavator2015:
Same thing man, this time I took a screenshot of it..
[G Pad 10.1 General] Excavator2015:
I don't know if you got my last message, but I have a screenshot this time.
[G Pad 10.1 General] BeeWall:
Yep, your last post showed up. Could you try booting twrp, and going into the menu "Wipe" -> "Advanced Wipe" -> [select data] -> "Repair or Change Filesystem" and tell me the size listed?
[G Pad 10.1 General] Excavator2015:
Present: Yes Removable: No

Size: 4098MB Used: 1757MB

Free: 1679MB Backup Size: 1757MB
[G Pad 10.1 General] BeeWall:
? When I moved the files around, I forgot to change the extract command, so it was trying to extract nonexistent files. This should work (aand I bet I just jinxed it).
[G Pad 10.1 General] Excavator2015:
Lol, I'll try it, hopefully( fingers crossed) this works!
[G Pad 10.1 General] Excavator2015:
Same thing, there's got to be something missing?
[G Pad 10.1 General] BeeWall:
In this zip, I've added the "-f" option to e2fsck and resize2fs. I doubt it'll fix it, but worth a shot.
[G Pad 10.1 General] Excavator2015:
Same deal, nothing changed. Ugh.
[G Pad 10.1 General] BeeWall:
Can you check the fs type (it's in the same twrp menu as size)?
[G Pad 10.1 General] fatbas202:
Mine does this too when it boots. Sometimes it burns the lines into the screen and I have to leave the device sitting on the table with the screen on for about 10 minutes before they clear up.

If they don't clear up for you, I'd suggest flashing the KDZ again. It's possible that a kernel module or something got corrupted during your ROM flash or something.
[G Pad 10.1 General] fatbas202:
So you reflashed the KDZ and it's still booting in to TWRP? If so, something is very wrong. I'd literally start from the beginning; flash the KDZ, root, flash TWRP, and go from there.
[G Pad 10.1 General] fatbas202:
Hey everyone! Some of you all are PMing me and that's cool. I really do want to help you! I do just want to point out that posting in this thread instead will help others too. I'm getting a lot of the same questions. Again, it's totally cool - I want to help. But posting your questions for others to see and possibly for others to answer will help everyone in the long run.

I'm not at all asking anyone to stop PMing me, I just want to encourage everyone to post here instead because it benefits the community more. I hope you understand what I'm getting at.
[G Pad 10.1 General] gquint90:
Yea, I totally did and this time it worked, I had to do the thing thats is on post #8. The way you have it, I wasn't able to mount the user data at the end.
[G Pad 10.1 General] fatbas202:
Yeah, that's expected. It still has the old partition table loaded and until you reboot it won't re-read the table. Also, I'm not sure that TWRP can even mount an EXT2 volume. Gotta be sure to reformat it as ext4.

I'm really glad that you got it working and thank you for posting back in this thread to let others know that you got it.
[G Pad 10.1 General] dreamtheater17:
You need to perform a hard reset using the button combination, (turn off, power+vol down, then reléase power and hold all 3 buttons, your ready)
[G Pad 10.1 General] poor_red_neck:
I'm in the process of downloading all materials so don't know if it'll work yet but it looks like it won't be an issue.

I can not click that thanks button enough times!!! Thank you thank you thank you!!

Was tough to find this thread but man I'm so glad I did. I only want root for Xposed so I can change DPI settings and I've never struggled so hard to get root on an android device and I've been flashing and rooting since the HTC Hero days (OG Hero)

Thank you very much again!
[G Pad 10.1 General] poor_red_neck:
Im having an issue flashing Candy ROM. Steps 1 to 28 have went without anyissues. ROM didn't seem to actually flash. The attached image has some of the errors still on the log. I then went to Wipe and Factory reset and got the following errors.

I went ahead and rebooted anyways. Oddly enough I don't have any white lines on the LG screen. I did on the initial boot into TWRP.

Candy ROM did not flash. I'm still on the userdebug kdz ROM.

[EDIT]

After rebooting (into the KDZ userdebug ROM) and then shutting down, and going back into TWRP recovery and making sure /SYSTEM was mounted (was unmounted for some reason) it flashed correctly. This time it worked fine.

Now my issue is that my internal storage is still only 4GB even though it seems parted worked correctly (see screenshot).

Side note... to help those less tech savvy I suggest the following changes to your step by step.

Step 16: [add or change to] Unzip the file "sdparted-recovery-all-files" and rename the directory to "parted" then copy that folder to your external SD card"

This will help when you start doing the adb commands. Actually you should have this step done with step 12 when you are copying the other files to your SD card and get rid of step 16 all together. Doesn't really matter but I would suggest maybe doing all of the copying of files to the SD card before you do anything else... Step 1 - this way they are ready to go before you possibly render your device unusable if something messes up.

Also step 17: Need to add that in TWRP you need to change the "SDCARD" mount from internal storage to external storage. In the Mount menu in TWRP at the bottom click "Storage: Internal Storage"" at the bottom and choose "sdcard." This was necessary for me otherwise the adb commands will never find the parted directory you copied over to the SD card as it is trying to copy from internal storage.
[G Pad 10.1 General] ArcaneDroid:
How do I "ADB shell" into twrp, Ive never done that before
[G Pad 10.1 General] poor_red_neck:
Download android studio from the link provided in the OP post.

Once installed open My Computer\Windows Explorer and goto:

C:\Users\[your username]\appdata\local\android\sdk\platform-tools\

You should see adb.exe in this directory.

Hold shift and right click in an open space in this folder and choose "open command prompt here"

this will open a command prompt.

type "adb shell" to open a shell terminal running from the tablet.

Follow the instructions in the post.
[G Pad 10.1 General] poor_red_neck:
This is very weird...

NOTE: this screenshot is taken AFTER installing CANDY ROM.... so after the initial parted setup to ext2 then flashing candy rom and it changing it to ext4 (successfully it appears). Seems #33 is correct so why is candyrom (and TWRP) showing userdata as only 4GB?
[G Pad 10.1 General] fatbas202:
Sorry for the delayed response. I've been pretty sick.

I'd recommend booting back up in TWRP, deleting partition 33, and recreating it (steps 20-25). Then reboot in to TWRP and run one of the commands in #29 and reboot back in to TWRP. I'd definitely ignore anything that the 4.4.2 test build tells you in terms of space usage since it appears to be hard-coded (and therefore wrong). Please flash an AOSP ROM like Candy5 after running these commands and report back your status.

Sorry to hear that you are having issues, but I'll try to help as much as possible.
[G Pad 10.1 General] fatbas202:
I've had a lot of questions regarding this, so I've updated the OP. The only file that you need from that zip file is the parted binary - you can ignore the rest of the folder.
[G Pad 10.1 General] poor_red_neck:
Hah, delayed response? Dude that's less than 5 hours which is amazing for XDA these days!

I truley appreciate the fast response.

I'm going to do as you suggested and report back. I too had the issue where creating the new partition did not name it, it was blank but did the command you outlined and it was named fine. Hopefully this works!

Thanks again for your efforts in this tutorial.

---------- Post added at 03:57 AM ---------- Previous post was at 03:56 AM ----------

Ah hah. I didn't notice that.
[G Pad 10.1 General] poor_red_neck:
So I finally got the internal storage sorted out and it is showing the proper size.

Unfortunately now Candy ROM is showing the white lines throughout the ROM.

I have wiped system/data/everything and re-flashed the ROM. Re-downloaded and verified the MD5 and re-flashed and it still has the white lines. I'm downloading CM now to flash that and see if it fixes it but it even shows the white lines in TWRP. I don't know when it started but I had a hell of a time getting Candy ROM to flash after getting internal storage fixed. Just getting everything done in the right order and forgetting to wipe system as flashing the google apps was messing it up somehow.

So it's not terrible, but for some reason when the internal storage was only showing 4GB Candy ROM looked flawless. No white lines in TWRP or the ROM. Not sure what happened or changed. My only thing to do now is to start back at step 1 and see what happens. I'll try that this evening and report back unless somebody else has found a way to fix it (maybe flash a kernel if one exists?)

I'm going to try wiping system/data and flash CM for the v410 first and see if that fixes it.
[G Pad 10.1 General] poor_red_neck:
Odly enough it's starting to go away on its own.... It's still there SLIGHTLY but it seems to be fading.

That's very weird.... very weird indeed. It's so faint now that I can live with it as this is not my primary device. Just a free tablet my work gave me that I use every now and then that comes with 4GB of free tethering data a month. So I'm extremely happy.

I'm liking this Candy ROM the more I tweak it. Very cool.

Thanks again for all your hard work with this tutorial. I'll report back if anything changes.
[G Pad 10.1 General] fatbas202:
You're very welcome! I'm just happy that it has helped someone else. That's what XDA is about, right?

When I factory reset and it has the white lines on the screen while it optimizes apps (builds the cache) they can take a long time to go away. Having the display off doesn't seem to help. I just set the screen timeout to 5 min and set it on the table and walked away. A little while later it was fine. They should go away soon.
[G Pad 10.1 General] poor_red_neck:
Happy to report after coming back from running some errands the lines have completely gone away. I knew to expect the lines during boot, and when dalvik/cache is wiped and in no way does that concern me. I was having lines once the ROM was fully booted. Any screen that wasn't completely black or completely white. Toast messages were causing them the worst.

Now they're gone though.

I now have CandyROM fully operational, rooted, on 5.1.1 and man I couldn't be happier. Thanks again!
[G Pad 10.1 General] fatbas202:
Great news! Really glad to be of help.
[G Pad 10.1 General] poor_red_neck:
One more question if you dont mind. Is there a working Xposed framework for the v410 and would it be compatible with candyrom? There's a few modules I really like to run now that I can. The standard Xposed framework downloaded from their website says incompatible but wasn't sure if there is a custom build out there.
[G Pad 10.1 General] Excavator2015:
I don't see it..where am I supposed to go?

---------- Post added at 03:00 AM ---------- Previous post was at 02:59 AM ----------

Where do I go in twrp? I don't see anything with SF.
[G Pad 10.1 General] BeeWall:
"Wipe" -> "Advanced Wipe" -> [select data] -> "Repair or Change Filesystem"

At the top, it should say filesystem type or partition type or something.
[G Pad 10.1 General] Excavator2015:
Ext4 is the file system.
[G Pad 10.1 General] BeeWall:
Thought so. I was wondering if maybe you had a non-ext filesystem, which would cause it to not work, since resize2fs is only for ext[2/3/4]. But nope, it's some other issue. I'll look into it more.
[G Pad 10.1 General] Excavator2015:
Ok, sorry man, as always keep me posted and any new zips you have. I am on Lineage and on twrp 3.1.1, from one of the threads.
[G Pad 10.1 General] BeeWall:
Can you run `e2fsck /dev/block/mmcblk0`?
[G Pad 10.1 General] Excavator2015:
Of course I can bud, give me a sec, I have to write it down and then go into recovery.

---------- Post added at 01:19 AM ---------- Previous post was at 01:11 AM ----------

Ran it, with no results. Do I need to type something in there before I do that command? Or is it the recovery? I flashed the 3.1.1 recovery from the 10.1 forum, for the V410.
[G Pad 10.1 General] BeeWall:
Sorry, I meant `e2fsck /dev/block/mmcblk0p33`, and yes from recovery.
[G Pad 10.1 General] Excavator2015:
What I meant to say way, that I'm wondering if it's twrp that's the issue not coming back with anything when I type in the commands?

Ok, let me try that!

---------- Post added at 01:34 AM ---------- Previous post was at 01:31 AM ----------
[G Pad 10.1 General] Excavator2015:
Yeah, nothing man, same deal...can you look at my screen to see if I'm even pointing to the right place when I'm putting the commands in? Here's the pic I took with my g3.
[G Pad 10.1 General] BeeWall:
You forgot the space between `e2fsck` and `/dev/block/mmcblk0p33`
[G Pad 10.1 General] Excavator2015:
Oh, lol, let me try again.
[G Pad 10.1 General] Excavator2015:
Find any solutions? Or are you working on another .zip file for me to try out lol? I don't know if it's just not recognising the commands because I'm not pointing to the right directory or if it's Twrp.
[G Pad 10.1 General] BeeWall:
Sorry, just saw the picture. The "in use" error means I forgot to unmount /data before running the commands ? New zip attached.
[G Pad 10.1 General] Excavator2015:
Now, do you want me to run that command after I flash the file to see what comes up?
[G Pad 10.1 General] BeeWall:
No, the command was one of the commands in the zip, I wanted to see if that was where the error was. And it should hopefully be fixed in the latest zip in my last post ? (aaand I jinxed it again didn't I :rolleyes: )
[G Pad 10.1 General] Excavator2015:
Lol let's hope not man. Flashing now! Fingers crossed!

---------- Post added at 02:55 AM ---------- Previous post was at 02:47 AM ----------

Well,

13.64GB of 14.68GB used when I go into storage.

Did you make sure you added everything you needed in there?

Watch it be something you or I overlooked..lol..man I'm definitely hoping so.
[G Pad 10.1 General] BeeWall:
Oops, no, I messed up the umount command (I set it to unmount the partition, not mount point). The attached one fixes that issue. Also, in this version, I've added you into the credits as a tester.
[G Pad 10.1 General] Excavator2015:
Aww, thank you man! That's thoughtful of you! If this works finally, I just want to say thank you, for everything, the time, work, the countless hours you and I worked on this, it means alot to me. And if you ever need someone to test again, you know where to find me. I would ask to exchange numbers, but I don't know how you would feel about that. My wife would be like " Are you talking to your developer friend again?" Yup..lol phones and tablets just put me in a relaxed state, I'm in my element, just like if I'm out fishing, or playing guitar, drawing, modeling buildings and landscapes on the computer, or even out hiking a mountain trail or something. It's something I enjoy. I'm not a developer, but I like flashing and rooting. Messing around with new systems, it's just fun, and I have all of you guys to thank for that.

Thank you, I really appreciate it. Really.

Ok time for me to shut my virtual mouth and flash this already! Lol, I'll be back.

---------- Post added at 03:18 AM ---------- Previous post was at 03:09 AM ----------

Hmm...still shows the same thing, I'm wondering if it's not something on my end?

I'm running Lineage 14.1

Twrp 3.1.1

That 4.4 stock kdz test ROM, then flashed lineage over that as a clean system( wipes and all).

I'm just trying to point out things for you to think about to maybe come to a conclusion as to what may be going on. I'm completely lost in the technical end, that's all you man..lol
[G Pad 10.1 General] BeeWall:
No, I made another mistake (I need to unmount before parted, not after).
[G Pad 10.1 General] Excavator2015:
Ok, I'll flash this one. Fingers crossed!

---------- Post added at 03:47 AM ---------- Previous post was at 03:42 AM ----------

Same deal man. Ugh!
[G Pad 10.1 General] BeeWall:
Maybe this???
[G Pad 10.1 General] Excavator2015:
Let's hope man.

---------- Post added at 04:39 AM ---------- Previous post was at 04:31 AM ----------

Process ended with an error code 6
[G Pad 10.1 General] BeeWall:
Photo?
[G Pad 10.1 General] Excavator2015:
I tried to reflash a couple times to see if I messed up or something.
[G Pad 10.1 General] BeeWall:
This?
[G Pad 10.1 General] Excavator2015:
I'll flash and see what happens bud. :)

---------- Post added at 07:27 AM ---------- Previous post was at 07:18 AM ----------

No result yet:( showing the same storage as before. Flash went OK tho as far as any failed zips.

You can do this bud, I have faith.
[G Pad 10.1 General] Excavator2015:
13.64MB of 14.68MB. I'll take one here in a couple hours when I get up for work..is that OK man? Same flash as all the others. Did you make sure you had everything in its place?
[G Pad 10.1 General] BeeWall:
Yeah. Also, I meant a photo of the flash log. I want to be sure it got through all the steps.
[G Pad 10.1 General] Excavator2015:
Oh OK, I will definitely get that for you. I think there's a WiFi bug in 14.1, every time I restart the tablet I have to go in and connect to the WiFi manually every time just by hitting connect ..lol.
[G Pad 10.1 General] BeeWall:
Yeah, I know. Tip: you can use the quick settings tile to avoid having to go to settings, etc.