[Q] Need help preparing to install custom rom on Lenovo A2107 - Android Q&A, Help & Troubleshooting

I'm following the directions here for trying to install a custom rom. Following that, when I frag the recovery.img to cwmr 6015.bat, it then brings up the dos window asking which model it is. I honestly have no clue, but neither selection one or two do anything but so the following in a new window that pops up.
Windows cannot find 'C:\Documents'. Make sure you typed the name correctly, and then try again. To seach for a file, click the Start button, and then click Search.
Click to expand...
Click to collapse
I've tried moving the files I'm supposed to use for this to different areas without luck. Has anyone run into this before? I tried searching but couldn't find anything.

Hey Try to use rom manager app ( if your phone is rooted).
Sent from my SAMSUNG-SGH-I317 using xda app-developers app

twinturbo16 said:
Hey Try to use rom manager app ( if your phone is rooted).
Sent from my SAMSUNG-SGH-I317 using xda app-developers app
Click to expand...
Click to collapse
Can't use Rom Manager. My tablet is unsupported by it.
But, the situation has changed a little. I figured out the issue trying to create the rom. Now, I'm not sure if it was installed or now. How would I figure that out?

Now I'm to the point of creating the recovery file. When I deag and drop the stock recovery file into the script, it just says error about the location or something. Am I missing something?

Related

[Q] How to repack a system.img

I have a question, I need help repacking a system.img. This is what i have done, i unpacked it, removed unnessasary apps and added a different frame work, so now i want to repack back to a system.img file.But have had no luck. I do have ubuntu and windows so no matter what operating system i use.
frankinstine said:
I have a question, I need help repacking a system.img. This is what i have done, i unpacked it, removed unnessasary apps and added a different frame work, so now i want to repack back to a system.img file.But have had no luck. I do have ubuntu and windows so no matter what operating system i use.
Click to expand...
Click to collapse
If you intend on flashing it with a custom recovery, you could also zip the whole package and name it update.zip
There's an excellent guide over here.
The problem is, I used mkcramfs and when I unpacked it again it showed empty
Sent from my HTC HD2 using XDA App
frankinstine said:
The problem is, I used mkcramfs and when I unpacked it again it showed empty
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
I see. But what will the .img be used for?
Thijs96 said:
I see. But what will the .img be used for?
Click to expand...
Click to collapse
I want to edit and change some things in it. I'm doing this for the HD2. The new nand flash. So that's why a zip will not help me, I do know how to make a Rom into an zip. The nand flashs the boot.img and system.img
Sent from my HTC HD2 using XDA App
To be clear I have the system file ready I just need to reach it
Sent from my HTC HD2 using XDA App
frankinstine said:
To be clear I have the system file ready I just need to reach it
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
Yes, yes, I know what you mean.
You've got to have /system in a folder, not compressed.
*You've got to be on linux!
Issue:
Code:
mkfs.yaffs2 yourdir yourimage
But you've got to find that command on Google, I didn't find it. Otherwise, flash it to your device and make a Nandroid backup.
Edit: I've found mkfs.yaffs2, but it's ARM only. That means you've got to do it on your device (Busybox/Terminal)
It's here.
Thijs96 said:
Yes, yes, I know what you mean.
You've got to have /system in a folder, not compressed.
*You've got to be on linux!
Issue:
Code:
mkfs.yaffs2 yourdir yourimage
But you've got to find that command on Google, I didn't find it. Otherwise, flash it to your device and make a Nandroid backup.
Edit: I've found mkfs.yaffs2, but it's ARM only. That means you've got to do it on your device (Busybox/Terminal)
It's here.
Click to expand...
Click to collapse
I'll give it a shot then
Sent from my HTC HD2 using XDA App
You can get yaffs2 tool for x86 Linux from here: http://jiggawatt.org/badc0de/android/mkfs.yaffs2.x86.tar.gz
I don't remember off hand what to search for as its been a while since I used it. I'll upload them when I get home if I still have them.
Sent from my HERO200 using XDA App
copy the folder to the sd on the phone, (eg /sdcard/myimg/ open a terminal on the phone, issue mkyaffs2image /sdcard/myimg/ /sdcard/system.img
bgcngm said:
You can get yaffs2 tool for x86 Linux from here: http://jiggawatt.org/badc0de/android/mkfs.yaffs2.x86.tar.gz
Click to expand...
Click to collapse
It's awesome! I've actually copied it into /bin/ on my computer, I'm using it an awful lot
pls help me!!!
how to upack and repack system.img ang boot.img...because i cant understand the guide..i think its missing something..pls help me
Is that for samsung devices?If yes,you can have a look at my sig
Sent from my GT-N7000 using xda app-developers app

[Q] Weird Background Information displaying after rom flash

I just flashed my rom to ICS on my galaxy s2. I used odin and downloaded the roms from samfirmware. After flashing there is weird information being displayed on the home screen of my cell which wont go away. I have changed the rom file, I have even changed the odin version but no success. Please help! How can I remove it?
A screen shot of the display is attached.
Theres dozens of threads about this.
Search for "keystr" and youll find a post about how to remove it.
Efs>imei>create keystr file=ON.
But youll need to be rooted first.
Sent from my GT-I9100 using xda premium
theunderling said:
Theres dozens of threads about this.
Search for "keystr" and youll find a post about how to remove it.
Efs>imei>create keystr file=ON.
But youll need to be rooted first.
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Issue resolved! Thank you!
theunderling said:
Theres dozens of threads about this.
Search for "keystr" and youll find a post about how to remove it.
Efs>imei>create keystr file=ON.
But youll need to be rooted first.
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
That issue is resolved but now I can't install or access any app on usb storage! I can access the files on it by file manager but play store installation gives an error saying "cant install app in usb storage or sd card"! Please help!
I used Android Terminal Emulator with the following commands:
su
echo -n ON > /efs/imei/keystr
sync

Storage/emulated/0/0/0 after flashing several ROM's

Hi is there a way to clean up these /0 directories who looks identical?
It add's an additional /0 directory in emulated every time I do a clean flash. Don't that use up my internal storage?
I'm using Temasek's cm 10.1 unofficial v83 + kernel but i don't think it has to do with the ROM
Is it safe to just delete these directories or is there any other way around this?
Sent from my GT-I9300 using xda premium
Klype said:
Hi is there a way to clean up these /0 directories who looks identical?
It add's an additional /0 directory in emulated every time I do a clean flash. Don't that use up my internal storage?
I'm using Temasek's cm 10.1 unofficial v83 + kernel but i don't think it has to do with the ROM
Is it safe to just delete these directories or is there any other way around this?
Click to expand...
Click to collapse
You need to upgrade your recovery application to the latest version to stop getting multiple /0 folders.
You only need one level of /0. And, yes you can delete the redundant levels. But make sure your files under the last level are copied to the sole remaining level.
/0 level came in with multi-user support in 4.2
Sent from my GT-I9300
BillGoss said:
You need to upgrade your recovery application to the latest version to stop getting multiple /0 folders.
You only need one level of /0. And, yes you can delete the redundant levels. But make sure your files under the last level are copied to the sole remaining level.
/0 level came in with multi-user support in 4.2
Sent from my GT-I9300
Click to expand...
Click to collapse
Thanks for answering
I've flashed cwmtouch 6.0.2.8 awhile ago and the levels of /0's stopped adding up.
I've copied all the files from the last levels to emulated/0.
Then i deleted the files from the last levels except one made by a rom i had several months ago. It can't seem to be deleted because of some elevated permissions. I've tried with several Explorer's with no luck.
How do I get around to change permissions or simply get rid of former systemfiles not in use anymore?
Sent from my GT-I9300 using xda premium
Klype said:
Thanks for answering
I've flashed cwmtouch 6.0.2.8 awhile ago and the levels of /0's stopped adding up.
I've copied all the files from the last levels to emulated/0.
Then i deleted the files from the last levels except one made by a rom i had several months ago. It can't seem to be deleted because of some elevated permissions. I've tried with several Explorer's with no luck.
How do I get around to change permissions or simply get rid of former systemfiles not in use anymore?
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
You can try with philz recovery and aroma file manager inside the recovery, see first posts of thread.
and please search next time, this has been discussed way too much
Klype said:
Thanks for answering
I've flashed cwmtouch 6.0.2.8 awhile ago and the levels of /0's stopped adding up.
I've copied all the files from the last levels to emulated/0.
Then i deleted the files from the last levels except one made by a rom i had several months ago. It can't seem to be deleted because of some elevated permissions. I've tried with several Explorer's with no luck.
How do I get around to change permissions or simply get rid of former systemfiles not in use anymore?
Click to expand...
Click to collapse
Use terminal. Then remove the folder using the 'rm -rf' command. You may need to read up on this if you aren't familiar with Linux commands.
Sent from my GT-I9300
Back you files up to a PC, then boot to recovery and format /sdcard. That will remove all the 0/0/0/0/0/0 folders, then boot and copy your files back.
BillGoss said:
Use terminal. Then remove the folder using the 'rm -rf' command. You may need to read up on this if you aren't familiar with Linux commands.
Sent from my GT-I9300
Click to expand...
Click to collapse
Yes i might have to read up a bit on terminal commands if i should have a chance to use it...
Sent from my GT-I9300 using xda premium
Glebun said:
and please search next time, this has been discussed way too much
Click to expand...
Click to collapse
Actually i did search but didn't understand what to do and what to search for. Thats why i finally asked the question here in the Q n A section. The search motor in the android app is also really difficult to search with.
Sent from my GT-I9300 using xda premium
delsus said:
Back you files up to a PC, then boot to recovery and format /sdcard. That will remove all the 0/0/0/0/0/0 folders, then boot and copy your files back.
Click to expand...
Click to collapse
Thanks that's a good idea
At least it solve my problem for now till i learn more about using the terminal
Sent from my GT-I9300 using xda premium
Striatum_bdr said:
You can try with philz recovery and aroma file manager inside the recovery, see first posts of thread.
Click to expand...
Click to collapse
I flashed aroma file manager and it worked like a charm
Thanks for pointing me in this direction now everything works as it should :thumbup:
Sent from my GT-I9300 using xda premium
Klype said:
I flashed aroma file manager and it worked like a charm
Thanks for pointing me in this direction now everything works as it should :thumbup:
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
hi..
i have the same pb.. can u pls assist me how can u solve it..?
my sinternal storage is now storage\emulated\0
wbr..
t-mobile_mda said:
hi..
i have the same pb.. can u pls assist me how can u solve it..?
my sinternal storage is now storage\emulated\0
wbr..
Click to expand...
Click to collapse
Yes look here http://forum.xda-developers.com/galaxy-s3/general/info-flashed-4-2-sdcard-data-t2274218

[Q] What is the difference between flashing and installing an apk?

Sometimes.. you see apps on xda.. that are required to be flashed.. and are in the form of zip files. Now how are these different from apk files with their regular installation? is it something to do with giving these apps you flash a deeper level permission? if so.. if your rooted can't you just give those apps those permissions after a normal install?
Usually making them flashable is just easier for some and if you were to extract the .apk from the zip and install it from sdcard it would work the same. Sometimes the app may require extra libs that are flashed at the same time as the app so they are bundled together as a zip. Or possibly it is being flashed to system for whatever reason and can't be done this way installed through os.
There are lots of varying reasons why it may be a .zip but you could also install it probably any way you'd like (including pushing with adb) if you want to know what's in the .zip just extract its contents, if you want to know what happens when you flash it look at the updater-script
Sent from my Nexus 4 using xda premium
Thank you!
demkantor said:
Usually making them flashable is just easier for some and if you were to extract the .apk from the zip and install it from sdcard it would work the same. Sometimes the app may require extra libs that are flashed at the same time as the app so they are bundled together as a zip. Or possibly it is being flashed to system for whatever reason and can't be done this way installed through os.
There are lots of varying reasons why it may be a .zip but you could also install it probably any way you'd like (including pushing with adb) if you want to know what's in the .zip just extract its contents, if you want to know what happens when you flash it look at the updater-script
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Thank you..! I have one more question.. in some cases.. you are instructed to "copy apk's to system\app folder with a file manager with root permissions and then reboot" ... why this? does this produce the same effect as flashing it?
I guess it depends on the app, but it may only function properly as a system app, and yes it would be just as possible to flash it through recovery or push with adb to get the same effect
Sent from my Nexus 4 using xda premium
Thank you again!
demkantor said:
I guess it depends on the app, but it may only function properly as a system app, and yes it would be just as possible to flash it through recovery or push with adb to get the same effect
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
hey, thanx alot!
rjspark89 said:
hey, thanx alot!
Click to expand...
Click to collapse
And if it's an system app, or framework it's better to flash via Recovery
thanks!
superdragonpt said:
And if it's an system app, or framework it's better to flash via Recovery
Click to expand...
Click to collapse
thanks this is valuable info for a newbie..! any more imp tips related to my question is should know?
rjspark89 said:
thanks this is valuable info for a newbie..! any more imp tips related to my question is should know?
Click to expand...
Click to collapse
Yes
DON'T let you battery go all the way down.
This way it will lst longer (no Joke)

[Q] Anyone have a FreeGee backup they can share? [SOLVED, MOSTLY]

Update: Apparently the phone will connect via USB to my iMac but not my regular PC (while my brother's identical phone will connect to both), so I slapped Windows in a VM and now can use LGNPST. Makes sense, it does not.
My computer (using either Windows or Linux) won't recognize my phone anymore but I need to get it back to stock everything (including bootloader, recovery, etc). Can't use LGNPST or KDZ for the aforementioned reason. Stupidly, I failed to retain backups of my /sdcard/freegee directory (with aboot, sbl{1,2,3}, boot and recovery).
Anyone feel like making an archive of their /sdcard/freegee backup tree and uploading it somewhere?
Feel free to laugh, since I've been doing Android-related development since 2010.
I just made an efs backup with efsflashablemaker.zip.... Maybe that will help? I believe u can push the files thru adb if ur phone is unbootable.. Just don't ask me the command lines cuz I couldn't help lol
Sent from my LG-E970 using xda app-developers app
lsmrfydgaf said:
I just made an efs backup with efsflashablemaker.zip.... Maybe that will help? I believe u can push the files thru adb if ur phone is unbootable.. Just don't ask me the command lines cuz I couldn't help lol
Sent from my LG-E970 using xda app-developers app
Click to expand...
Click to collapse
No, I have EFS backups. I just need the backups made by FreeGee (the bootloader, sbl, etc).
Ahhh OK.. I have those also.. Can I email them to u??
Sent from my LG-E970 using xda app-developers app
lsmrfydgaf said:
Ahhh OK.. I have those also.. Can I email them to u??
Sent from my LG-E970 using xda app-developers app
Click to expand...
Click to collapse
Perfect. Check your PM box.
Sent... Check ur inbox. Let me know if that's right
Sent from my LG-E970 using xda app-developers app
drewwalton19216801 said:
Update: Apparently the phone will connect via USB to my iMac but not my regular PC (while my brother's identical phone will connect to both), so I slapped Windows in a VM and now can use LGNPST. Makes sense, it does not.
My computer (using either Windows or Linux) won't recognize my phone anymore but I need to get it back to stock everything (including bootloader, recovery, etc). Can't use LGNPST or KDZ for the aforementioned reason. Stupidly, I failed to retain backups of my /sdcard/freegee directory (with aboot, sbl{1,2,3}, boot and recovery).
Anyone feel like making an archive of their /sdcard/freegee backup tree and uploading it somewhere?
Feel free to laugh, since I've been doing Android-related development since 2010.
Click to expand...
Click to collapse
Hi, if you've got what you were looking for can you please share with me also? Got into the same situation - lost freegee directry by mistake (I sitll have my EFS backup). Need to revert to stock but LG software does not see my phone. I have e975.
Many thanks in advance.
Does anybody from this thread still have access to the folder that was needed by the OP? I also need that folder, as I am having the same problem.
jimsal82 said:
Does anybody from this thread still have access to the folder that was needed by the OP? I also need that folder, as I am having the same problem.
Click to expand...
Click to collapse
just want to ask the same question if anyone can share their stock recovery backup file on freegee
as it seems that i cant make offline charging work with unlock bootloader using mako and when i try to re-lock using freegee this message pop up
"backup aboot" and says that no folder/file exist and when i checked at the location of the file theres no backup folder
hope anyone can share/help thanks

Categories

Resources